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

feat: add scriptless bootstrap status poller #5173

Merged
merged 56 commits into from
Nov 5, 2024

Conversation

lilypan26
Copy link
Contributor

@lilypan26 lilypan26 commented Oct 28, 2024

What type of PR is this?

What this PR does / why we need it:

Add monitor mode to go binary to poll status of systemd unit and retrieve bootstrap exit status. Add cse processing to AB e2e to simulate how bootstrapper will retrieve provisioning completion information.

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@lilypan26 lilypan26 changed the base branch from master to dev November 1, 2024 00:26
@@ -95,6 +102,48 @@ func (a *App) Provision(ctx context.Context, flags ProvisionFlags) error {
return err
}

func (a *App) ProvisionWait(ctx context.Context) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to have a test watching for a file in tmp folder

Copy link
Contributor Author

@lilypan26 lilypan26 Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to add this in a follow-up PR

aks-node-controller/app.go Outdated Show resolved Hide resolved
@lilypan26 lilypan26 merged commit d0a5460 into dev Nov 5, 2024
10 of 15 checks passed
@lilypan26 lilypan26 deleted the lily/bootstrap-status-poller branch November 5, 2024 01:01
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.

6 participants