100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Add manual cloudformation stack delete
Michal Rutkafd6916a075b5
diff --git a/.gitlab-ci.yml b/.gitlab-ci.ymlindex f59ad42ba..cb2d15ef6 100644--- a/.gitlab-ci.yml+++ b/.gitlab-ci.yml@@ -122,7 +122,19 @@ deploy-master:only:- master-delete aws cloudformation stack:+auto delete aws cloudformation stack:+ image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest+ stage: cleanup+ script:+ - aws cloudformation delete-stack --stack-name $AWS_STACK_NAME+ - aws cloudformation wait stack-delete-complete --stack-name $AWS_STACK_NAME+ allow_failure: true # set when:manual optional and not blocking+ rules:+ - if: $CI_COMMIT_BRANCH == "master"+ when: delayed+ start_in: '8 hours'++manual delete aws cloudformation stack:image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:lateststage: cleanupbefore_script:@@ -146,8 +158,5 @@ delete aws cloudformation stack:- aws cloudformation wait stack-delete-complete --stack-name $AWS_STACK_NAMEallow_failure: true # set when:manual optional and not blockingrules:- - if: $CI_COMMIT_BRANCH == "master"- when: delayed- start_in: '8 hours'- if: $CI_COMMIT_BRANCH == "master"when: manual