File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ steps:
1515 - cf_export IMAGE_TAG=${{CF_RELEASE_TAG}}
1616 - cf_export GATEWAY_HOST=example.${{BASE_HOST}}
1717
18+ ask_for_permission :
19+ type : pending-approval
20+ title : Deploy release?
21+
1822 deploy_helmfile :
1923 title : " Deploy with helmfile"
2024 stage : " Deploy"
2529 - " echo 'Preparing to deploy ${{CF_REPO_NAME}}:${{CF_RELEASE_TAG}}'"
2630 # Deploy chart to cluster
2731 - " /deploy/ctl --namespace=${{NAMESPACE}} blue-green"
28-
32+ when :
33+ steps :
34+ - name : ask_for_permission
35+ on :
36+ - approved
Original file line number Diff line number Diff line change 55
66steps :
77 main_clone :
8+ type : pending-approval
9+ title : Destory staging environment?
10+
11+ destroy :
812 title : Destroy namespace
913 stage : Destroy
1014 image : cloudposse/build-harness:${{BUILD_HARNESS_VERSION}}
1519 - " kubectl config use-context ${{KUBE_CONTEXT}}"
1620 - " make helm/delete/namespace"
1721 - " make helm/delete/namespace/empty"
22+ when :
23+ steps :
24+ - name : main_clone
25+ on :
26+ - approved
You can’t perform that action at this time.
0 commit comments