-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Fix get_data job on CircleCI (#897)
- Loading branch information
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|