- Notifications
You must be signed in to change notification settings - Fork1.1k
feat(agent): Add shutdown lifecycle states and shutdown_script support#6139
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
21 commits Select commitHold shift + click to select a range
5455c58 WIP
mtojek5e8b150 Implement database model
mtojek4a0888c More code
mtojek3ee962f Run script
mtojek739b680 Generate terraform testdata
mafredri82159e4 Fix rebase
mafredri5e41bcb Add shutdown script timeout
mafredrie7ca1b2 Add agent shutdown lifecycle states
mafredria57877a Add notes/todos
mafredribf42f4e feat(site): Support new agent lifecycle states
mafredri292a878 Fix startup/shutdown script log messaging
mafredrie711909 Only wait for 5 seconds to report lifecycle at end
mafredrib362811 Fix site
mafredri5d0212a Remove TODOs in favor of issues
mafredri867795c Update terraform testdata
mafredrieff8915 Fix migrations
mafredri22ad8b9 Fix migrations
mafredri019cf07 Add expected field for shutdown script timeout seconds
mafredri1a1e38d Fix proto not updated by make gen
mafredrif51eab5 Fix lint
mafredri57bc338 Merge branch 'main' into mafredri/feat-shutdown-script
mafredriFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Fix rebase
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit82159e4544f17b87d83862b50e00e69d3a9d2bf2
There are no files selected for viewing
22 changes: 9 additions & 13 deletionsagent/agent.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletionsagent/agent_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.