Skip to content
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

Approve failsafe with temp file #75

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

pederhan
Copy link
Member

This PR adds the ability to signal approval of changes when the failsafe is hit by creating a temporary file in a location specified by the config option zac.failsafe_ok_file. If this file is detected, the application goes ahead and makes the changes.

The file is always deleted after its detection, so that each approval requires the re-creation of this file. See #73 for more information on the considerations made when implementing this.

Closes #73

@pederhan pederhan merged commit 219fc9f into unioslo:master Mar 14, 2024
3 checks passed
@pederhan pederhan deleted the approve-failsafe-changes branch March 14, 2024 10:54
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.

Approve changes when failsafe is hit
1 participant