-
Notifications
You must be signed in to change notification settings - Fork 13
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
Identify an automated revert path for infrastructure releases #3590
Comments
The plan is to make the following changes: Terraform plan production
Terraform apply production
ConsiderationsTesting will need to be done to see how Alternatively, it would also be possible to delete the "bad" tag it created and have it recreate that version. This is the approach suggested by one of the maintainers: |
Will look to merge PR in draft after testing, after Tuesday next week and app router. |
This has now complete, along with a change to enforce CODEOWNER review on the |
Description:
This card was from an incident that led to a temporary delay in sending form responses via Notify.
Currently TF plan is run if it's a release-please-- prefixed branch. We could update the trigger on this to instead only run if the version.txt file has been changed in the PR and its target is the develop branch. Since Release Please always updates this file, TF plans would keep running as expected.
TF apply is set to only trigger when a new release is published. If this was instead updated to trigger when the version.txt file was updated, we could then update the checkout step to use this tagged version instead.
Benefits:
Release Please PR merges and revert PR merges would behave the same way (running TF plan and TF apply) allowing for easier rollbacks.
Potential gotchas:
We may end up in a race-condition with step 2 since Release Please is responsible for publishing the release. We'd likely have to add safeguards into the TF apply to wait for the release to exist.
The text was updated successfully, but these errors were encountered: