-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(preview): add branch preview cleanup workflow #1023
Conversation
🚀 Deployed to preview environment! URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
🚀 Deployed to preview environment! URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
1 similar comment
🚀 Deployed to preview environment! URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
3fb810f
to
2987497
Compare
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
2987497
to
d451bc3
Compare
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
🎉 This PR is included in version 3.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🚀 Deployed to preview environment! If this is the first deploy, you may have to wait a few minutes for your preview site to be ready on the following URL: https://moj-frontend-branch-preview-cleanup-action.apps.live.cloud-platform.service.justice.gov.uk Username: |
This PR creates a github action that runs when a PR is closed (or merged). If the pull request has the label
preview:active
then this action will run.It removes the kubernetes infrastructure for the preview site by issuing
kubectl delete
commands for the deployment, service and ingress that are created by the preview deploy action.As a final step, it removes the
preview:active
label from the PR.