Skip to content

Commit 056f641

Browse files
committed
fix(circle): clean-up cache and do not keep some cached results
1 parent a8cdd00 commit 056f641

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,12 @@ jobs:
394394
/tmp/data/ds005 /tmp/ds005/derivatives participant \
395395
--sloppy --write-graph --mem_mb 4096 \
396396
--nthreads 2 --anat-only -vv
397+
- run:
398+
name: Clean-up after anatomical run
399+
command: |
400+
rm -rf /tmp/ds005/work/fmriprep_wf/fsdir*
401+
rm -rf /tmp/ds005/work/reportlets
402+
rm -rf /tmp/ds005/derivatives/*
397403
- save_cache:
398404
key: ds005-anat-v14-{{ .Branch }}-{{ epoch }}
399405
paths:
@@ -525,6 +531,12 @@ jobs:
525531
/tmp/data/ds054 /tmp/ds054/derivatives participant \
526532
--fs-no-reconall --sloppy --write-graph \
527533
--mem_mb 4096 --nthreads 2 --anat-only -vv
534+
- run:
535+
name: Clean-up after anatomical run
536+
command: |
537+
rm -rf /tmp/ds054/work/fmriprep_wf/fsdir*
538+
rm -rf /tmp/ds054/work/reportlets
539+
rm -rf /tmp/ds054/derivatives/*
528540
- save_cache:
529541
key: ds054-anat-v12-{{ .Branch }}-{{ epoch }}
530542
paths:
@@ -643,6 +655,12 @@ jobs:
643655
/tmp/data/ds210 /tmp/ds210/derivatives participant \
644656
--fs-no-reconall --sloppy --write-graph \
645657
--mem_mb 4096 --nthreads 2 --anat-only -vv
658+
- run:
659+
name: Clean-up after anatomical run
660+
command: |
661+
rm -rf /tmp/ds210/work/fmriprep_wf/fsdir*
662+
rm -rf /tmp/ds210/work/reportlets
663+
rm -rf /tmp/ds210/derivatives/*
646664
- save_cache:
647665
key: ds210-anat-v10-{{ .Branch }}-{{ epoch }}
648666
paths:

0 commit comments

Comments
 (0)