Skip to content

Commit

Permalink
CI: Fix get_data job on CircleCI (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored Oct 31, 2024
1 parent c8afbfa commit 5882de7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,26 +120,25 @@ jobs:

get_data:
docker:
- image: continuumio/miniconda3:4.9.2-alpine
- image: quay.io/condaforge/miniforge3:24.9.0-0
working_directory: /tmp/data
environment:
- TEMPLATEFLOW_HOME: /tmp/templateflow
steps:
- restore_cache:
keys:
- env-v2-{{ .Branch }}-
- env-v2-master-
- env-v2-
- env-v0-{{ .Branch }}-
- env-v0-master-
- env-v0-
- run:
name: Setup git-annex, DataLad & TemplateFlow
command: |
apk update && apk add --no-cache coreutils
conda install -y -c conda-forge python=*=*cpython datalad git wget
python -m pip install --no-cache-dir -U datalad-osf templateflow
mamba install -y python=*=*cpython git-annex=*=alldep* unzip
python -m pip install --no-cache-dir -U datalad datalad-osf templateflow
git config --global user.name 'NiPreps Bot'
git config --global user.email '[email protected]'
- save_cache:
key: env-v2-{{ .Branch }}-{{ .BuildNum }}
key: env-v0-{{ .Branch }}-{{ .BuildNum }}
paths:
- /opt/conda

Expand Down

0 comments on commit 5882de7

Please sign in to comment.