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

cleanup rules for cleanup

parent 1b6ed1f0
No related branches found
No related tags found
No related merge requests found
Pipeline #128658 skipped
......@@ -102,6 +102,7 @@ full-deploy-production:
stage: deploy
environment: Production
rules:
- if: ($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
<<: *ssh_setup
script:
- echo "Starting the full production deployment of airflows."
......@@ -160,8 +161,7 @@ cleanup-successful-full-deployment:
stage: cleanup
when: on_success
rules:
- if: $MANUAL_FULL_DEPLOY_PRODUCTION == "true"
when: tags
- if: ($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
script:
- echo "This is the cleanup for the full-redeployment of the testing or production servers"
- echo "if this job is reached, all earlier jobs were successful, and any lingering old instances need to be removed"
......@@ -175,8 +175,7 @@ cleanup-failed-full-deployment:
stage: cleanup
when: on_failure
rules:
- if: $MANUAL_FULL_DEPLOY_PRODUCTION == "true"
when: tags
- if: ($CI_COMMIT_TAG =~ /stable/ && $MANUAL_FULL_DEPLOY_PRODUCTION == "true")
<<: *ssh_setup
script:
- echo "This is the cleanup for the full-redeployment of the testing or production servers"
......
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