Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
metagWGS
Commits
3d99f3d2
Commit
3d99f3d2
authored
Oct 05, 2021
by
MARTIN Pierre
Browse files
added mosdepth singularity to CI/CD
parent
dba6e249
Pipeline
#42415
passed with stages
in 19 minutes
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitattributes
View file @
3d99f3d2
*.config linguist-language=nextflow
*.nf linguist-language=nextflow
\ No newline at end of file
*.config linguist-language=groovy
*.nf linguist-language=groovy
\ No newline at end of file
.gitlab-ci.yml
View file @
3d99f3d2
...
...
@@ -13,21 +13,25 @@ singularity-image:
script
:
-
singularity build metagWGS.sif env/Singularity_recipe_metagWGS
-
singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
-
singularity build mosdepth.sif env/Singularity_recipe_mosdepth
artifacts
:
paths
:
-
metagWGS.sif
-
eggnog_mapper.sif
-
mosdepth.sif
only
:
changes
:
-
.gitlab-ci.yml
-
env/*
when
:
manual
# Push the image template.sif on the registry
deploy
:
stage
:
deploy
script
:
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" metagWGS.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME":"$CI_COMMIT_TAG"
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" eggnog_mapper.sif oras://"$CI_REGISTRY_IMAGE"/eggnog_mapper:"$CI_COMMIT_TAG"
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" mosdepth.sif oras://"$CI_REGISTRY_IMAGE"/mosdepth:"$CI_COMMIT_TAG"
only
:
changes
:
-
.gitlab-ci.yml
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment