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

typo + rules for web-test

parent a9a09ecb
No related branches found
No related tags found
No related merge requests found
Pipeline #128657 failed
...@@ -88,7 +88,8 @@ full-deploy-testing: ...@@ -88,7 +88,8 @@ full-deploy-testing:
light-deploy-testing: light-deploy-testing:
stage: deploy stage: deploy
rules: rules:
- if: ($CI_COMMIT_BRANCH == "master" && ($MANUAL_FULL_DEPLOY_TESTING == "" || $MANUAL_FULL_DEPLOY_TESTING == "false))" - if: ($CI_COMMIT_BRANCH == "master" && ($MANUAL_FULL_DEPLOY_TESTING == "" || $MANUAL_FULL_DEPLOY_TESTING == "false"))
<<: *ssh_setup <<: *ssh_setup
environment: Testing environment: Testing
script: script:
...@@ -101,7 +102,6 @@ full-deploy-production: ...@@ -101,7 +102,6 @@ full-deploy-production:
stage: deploy stage: deploy
environment: Production environment: Production
rules: rules:
- if: ($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
<<: *ssh_setup <<: *ssh_setup
script: script:
- echo "Starting the full production deployment of airflows." - echo "Starting the full production deployment of airflows."
...@@ -132,7 +132,6 @@ light-deploy-production: ...@@ -132,7 +132,6 @@ light-deploy-production:
stage: deploy stage: deploy
rules: rules:
- if: ($CI_COMMIT_TAG =~ /stable/ && ($MANUAL_FULL_DEPLOY_PRODUCTION == "" || $MANUAL_FULL_DEPLOY_PRODUCTION == "false")) - if: ($CI_COMMIT_TAG =~ /stable/ && ($MANUAL_FULL_DEPLOY_PRODUCTION == "" || $MANUAL_FULL_DEPLOY_PRODUCTION == "false"))
when: tags
<<: *ssh_setup <<: *ssh_setup
environment: Production environment: Production
script: script:
...@@ -142,8 +141,9 @@ light-deploy-production: ...@@ -142,8 +141,9 @@ light-deploy-production:
test-production-webserver: test-production-webserver:
cache: {} cache: {}
stage: test-deployment stage: test-deployment
only: rules:
- tags - if: ($CI_COMMIT_TAG =~ /stable/ && ($MANUAL_FULL_DEPLOY_PRODUCTION == "" || $MANUAL_FULL_DEPLOY_PRODUCTION == "false"))
- if: ($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
script: script:
- apt update && apt -y install curl - apt update && apt -y install curl
- echo "This is a simple check if the deployment was successful and dags get executed" - echo "This is a simple check if the deployment was successful and dags get executed"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment