Skip to content

fix: prod finalize/rollback without a second approval (production-ops) - #182

Closed
saqibmanan wants to merge 1 commit into
mainfrom
fix/prod-post-deploy-no-approval
Closed

saqibmanan wants to merge 1 commit into
mainfrom
fix/prod-post-deploy-no-approval

Conversation

@saqibmanan

Copy link
Copy Markdown
Contributor

Production required a reviewer, and every job referencing it asked again — deploy, then finalize or rollback — so a failing prod deploy stayed live until someone clicked.

production-ops (created on this repo) holds the same host var and SSH secrets, no reviewer, main-only branch policy. Prod finalize/rollback now use it; the single human approval stays on the deploy job. Dev behaviour unchanged (development no longer needs approval and is restricted to dev).

Merge only after EC2_USERNAME and EC2_PRIVATE_KEY are set on production-ops, or prod finalize/rollback lose their SSH credentials.

…pproval

production requires a reviewer, and every job referencing it asked again:
approve the deploy, then approve finalize or rollback -- so a failing prod
deploy stayed live until someone clicked. production-ops holds the same host
and SSH secrets with no reviewer and a main-only branch policy; the human
approval stays on the deploy job.
@saqibmanan

Copy link
Copy Markdown
Contributor Author

Closing — decided to keep a single production environment with two approvals; production-ops not needed.

@saqibmanan saqibmanan closed this Sep 15, 2026
@saqibmanan
saqibmanan deleted the fix/prod-post-deploy-no-approval branch September 15, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant