Skip to content

Commit 5882de7

Browse files
authored
CI: Fix get_data job on CircleCI (#897)
1 parent c8afbfa commit 5882de7

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.circleci/config.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,26 +120,25 @@ jobs:
120120

121121
get_data:
122122
docker:
123-
- image: continuumio/miniconda3:4.9.2-alpine
123+
- image: quay.io/condaforge/miniforge3:24.9.0-0
124124
working_directory: /tmp/data
125125
environment:
126126
- TEMPLATEFLOW_HOME: /tmp/templateflow
127127
steps:
128128
- restore_cache:
129129
keys:
130-
- env-v2-{{ .Branch }}-
131-
- env-v2-master-
132-
- env-v2-
130+
- env-v0-{{ .Branch }}-
131+
- env-v0-master-
132+
- env-v0-
133133
- run:
134134
name: Setup git-annex, DataLad & TemplateFlow
135135
command: |
136-
apk update && apk add --no-cache coreutils
137-
conda install -y -c conda-forge python=*=*cpython datalad git wget
138-
python -m pip install --no-cache-dir -U datalad-osf templateflow
136+
mamba install -y python=*=*cpython git-annex=*=alldep* unzip
137+
python -m pip install --no-cache-dir -U datalad datalad-osf templateflow
139138
git config --global user.name 'NiPreps Bot'
140139
git config --global user.email 'nipreps@gmail.com'
141140
- save_cache:
142-
key: env-v2-{{ .Branch }}-{{ .BuildNum }}
141+
key: env-v0-{{ .Branch }}-{{ .BuildNum }}
143142
paths:
144143
- /opt/conda
145144

0 commit comments

Comments
 (0)