You need to sign in or sign up before continuing.
feat: add workflow to decommission deploy project
What
This MR adds the support for deprovisioning entire Runway services using the deploy project's CI workflow.
Key changes
- Add new
RUNWAY_DEPLOYMENT_STRATEGY
:destroy
- Add
Destroy
andPlan For Destroy
jobs on deployment-project - Add
Trigger runway destroy staging
,Trigger runway destroy production
andTrigger destroy dry-run Deployment
trigger jobs for service project - Trigger the destroy workflow using
DESTROY_RUNWAY_WORKLOAD
CI variable on the service project
DESTROY_RUNWAY_WORKLOAD
can either be:
-
runway_service_id
: this is useful for service projects with multiple deployments -
"EVERYTHING"
: use this is your service project has only 1 deployment or you wish to destroy all deployments in the service project.
Note that the DESTROY_RUNWAY_WORKLOAD
is added as an option for service owners to manually deprovision their project. The follow-up to this effort is to trigger the destroy pipelines from the runway provisioner's CI pipeline.
Why
Edited by Sylvester Chin