Skip to content
Snippets Groups Projects
Commit 5caec99d authored by Christian Boettcher's avatar Christian Boettcher
Browse files

manual variable checking to ensure proper job execution

parent 27ac1d52
Branches
Tags
No related merge requests found
Pipeline #77279 canceled
...@@ -76,8 +76,8 @@ full-deploy-production: ...@@ -76,8 +76,8 @@ full-deploy-production:
stage: deploy stage: deploy
# only run when stable tag is assigned and the pipeline is triggered in the web UI # only run when stable tag is assigned and the pipeline is triggered in the web UI
only: only:
- tags && web variables:
tags: [stable] - ($CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME =~ "/^stable-/")
environment: Production environment: Production
script: script:
- echo "Starting the full production deployment." - echo "Starting the full production deployment."
...@@ -100,9 +100,8 @@ full-deploy-testing: ...@@ -100,9 +100,8 @@ full-deploy-testing:
stage: deploy stage: deploy
# only run when master is updated and the pipeline is triggered in the web UI # only run when master is updated and the pipeline is triggered in the web UI
only: only:
- master && web variables:
except: - ($CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master")
- tags
environment: Testing environment: Testing
script: script:
- echo "Starting the full testing deployment." - echo "Starting the full testing deployment."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment