Commit add3f5cd authored by Jean Mainguy's avatar Jean Mainguy
Browse files

Merge branch 'dev' of forgemia.inra.fr:genotoul-bioinfo/metagwgs into dev

parents eb95e0a4 1154a060
Pipeline #46888 passed with stage
in 12 minutes and 43 seconds
...@@ -5,32 +5,17 @@ image: ...@@ -5,32 +5,17 @@ image:
stages: stages:
- build - build
- deploy
singularity-image-metag:
# Build Singularity container bwa_v0.7.17.sif
singularity-image:
stage: build stage: build
script: script:
- singularity build metagWGS.sif env/Singularity_recipe_metagWGS - singularity build metagWGS.sif env/Singularity_recipe_metagWGS
- singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper - 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"
artifacts:
paths:
- metagWGS.sif
- eggnog_mapper.sif
only:
changes:
- .gitlab-ci.yml
- env/*
when: manual when: manual
# Push the image template.sif on the registry singularity-image-eggnog:
deploy: stage: build
stage: deploy
script: 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" - singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
- 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" - 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 when: manual
Supports Markdown
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