Commit 0e818289 authored by Celine Noirot's avatar Celine Noirot
Browse files

new version

parent fef2c774
Pipeline #46883 passed with stages
in 8 minutes and 1 second
......@@ -7,30 +7,33 @@ stages:
- build
- deploy
# Build Singularity container bwa_v0.7.17.sif
singularity-image:
singularity-image-metag:
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
when: manual
singularity-image-eggnog:
stage: build
script:
- singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
artifacts:
paths:
- eggnog_mapper.sif
only:
changes:
- .gitlab-ci.yml
- env/*
when: manual
# Push the image template.sif on the registry
deploy:
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"
only:
changes:
- .gitlab-ci.yml
- env/*
when: manual
Markdown is supported
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