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

Support graceful shutdown #1051

Merged
merged 6 commits into from
May 25, 2020
Merged

Support graceful shutdown #1051

merged 6 commits into from
May 25, 2020

Conversation

lkysow
Copy link
Member

@lkysow lkysow commented May 25, 2020

Support gracefully stopping Atlantis. When Atlantis receives a SIGTERM or SIGINT it will not shut down immediately but instead wait for in-progress operations to complete. New operations will be refused and Atlantis will comment back that "Atlantis is shutting down...". Once all in-progress operations are complete, Atlantis will exit.

Takes @benoit74's amazing work from #953 and refactors to use signals and remove atlantis drain command.

Fixes #320

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.

Support clean shutdown
2 participants