Skip to content
Snippets Groups Projects
Commit cc680428 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Parallelize cache singularity images

parent 0d01fd1c
Branches
Tags
2 merge requests!76Develop,!71Seqwho
Pipeline #9382 canceled with stages
in 10 seconds
......@@ -32,10 +32,7 @@ img_cache:
stage: singularity
script:
- export -p | grep SINGULARITY_CACHEDIR
- >
for container in `cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq`; do
singularity pull 'docker://'${container}
done
- cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | xargs -P 10 -I {} singularity pull 'docker://'{}
collect:
stage: versions
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment