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
33616c16
Commit
33616c16
authored
Sep 30, 2021
by
Celine Noirot
Browse files
manual ci
parent
00c2cc68
Pipeline
#42003
skipped with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
33616c16
# recipe for building singularity image and deploy it on the registery for bwa version 0.7.17
image
:
name
:
quay.io/singularity/singularity:v3.4.0
entrypoint
:
[
"
"
]
stages
:
-
build
-
deploy
# Build Singularity container bwa_v0.7.17.sif
singularity-image
:
stage
:
build
script
:
-
singularity build metagWGS.sif env/Singularity_recipe_metagWGS
-
singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
artifacts
:
paths
:
-
metagWGS.sif
-
eggnog_mapper.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"
only
:
changes
:
-
.gitlab-ci.yml
-
env/*
when
:
manual
\ No newline at end of file
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