Skip to content
Snippets Groups Projects
Commit fd10fe1d authored by Nicolas Descostes's avatar Nicolas Descostes
Browse files

remove only and add merge_request_event

parent 54202e5f
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,8 @@ image: ...@@ -12,6 +12,8 @@ image:
.templateBuild: .templateBuild:
stage: build stage: build
allow_failure: false allow_failure: false
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
tags: tags:
- docker7 - docker7
script: script:
...@@ -22,6 +24,8 @@ image: ...@@ -22,6 +24,8 @@ image:
stage: deploy stage: deploy
tags: tags:
- docker7 - docker7
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
script: script:
- singularity push --docker-username gitlab-ci-token --docker-password $CI_JOB_TOKEN container.sif oras://"$CI_REGISTRY_IMAGE"/$BASENAME:$TAG - singularity push --docker-username gitlab-ci-token --docker-password $CI_JOB_TOKEN container.sif oras://"$CI_REGISTRY_IMAGE"/$BASENAME:$TAG
...@@ -36,9 +40,6 @@ fastqc-0119-build: ...@@ -36,9 +40,6 @@ fastqc-0119-build:
BASENAME: fastqc BASENAME: fastqc
TAG: 0119 TAG: 0119
RECIPE_PATH: recipes/quality-control/fastqc/ RECIPE_PATH: recipes/quality-control/fastqc/
only:
changes:
- recipes/quality-control/fastqc/Singularity.fastqc-0119
artifacts: artifacts:
paths: paths:
- container.sif - container.sif
...@@ -51,6 +52,3 @@ fastqc-0119-deploy: ...@@ -51,6 +52,3 @@ fastqc-0119-deploy:
variables: variables:
BASENAME: fastqc BASENAME: fastqc
TAG: 0119 TAG: 0119
only:
changes:
- recipes/quality-control/fastqc/Singularity.fastqc-0119
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment