Deploy review only manually

This commit is contained in:
sirkrypt0
2021-05-11 11:20:51 +02:00
committed by Tobias Kantusch
parent deb4a8b116
commit e07e8216f2

View File

@ -134,7 +134,6 @@ test_e2e:
needs: needs:
- job: dockerimage - job: dockerimage
artifacts: false artifacts: false
- nomadimage
- test_e2e - test_e2e
script: script:
# Only replace set env vars # Only replace set env vars
@ -160,8 +159,10 @@ deploy_review:
on_stop: stop_review on_stop: stop_review
only: only:
- branches - branches
- tags
except: except:
- main - main
when: manual
stop_review: stop_review:
# See: # See:
@ -177,11 +178,12 @@ stop_review:
action: stop action: stop
needs: [] needs: []
allow_failure: true allow_failure: true
rules: only:
- if: '$CI_COMMIT_BRANCH == "main"' - branches
when: never - tags
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH' except:
when: manual - main
when: manual
deploy_staging: deploy_staging:
<<: *start_deployment <<: *start_deployment