Skip to content
GitLab
Menu
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
d7c2f239
Commit
d7c2f239
authored
Dec 17, 2021
by
Celine Noirot
Browse files
change way ok build and deploy
parent
0e818289
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d7c2f239
...
...
@@ -5,35 +5,20 @@ image:
stages
:
-
build
-
deploy
singularity-image-metag
:
stage
:
build
script
:
-
singularity build metagWGS.sif env/Singularity_recipe_metagWGS
artifacts
:
paths
:
-
metagWGS.sif
when
:
manual
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" metagWGS.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/metagWGS:"$CI_COMMIT_TAG"
rules
:
-
if
:
$CI_COMMIT_TAG
singularity-image-eggnog
:
stage
:
build
script
:
-
singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
artifacts
:
paths
:
-
eggnog_mapper.sif
when
:
manual
# Push the image template.sif on the registry
deploy-metag
:
stage
:
deploy
script
:
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" metagWGS.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/metagWGS:"$CI_COMMIT_TAG"
when
:
manual
deploy-eggnog
:
stage
:
deploy
script
:
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" eggnog_mapper.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/eggnog_mapper:"$CI_COMMIT_TAG"
when
:
manual
rules
:
-
if
:
$CI_COMMIT_TAG
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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