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

ci: add error handling to e2e windows liveness probe #3018

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

davidweisse
Copy link
Contributor

@davidweisse davidweisse commented Apr 9, 2024

Context

The liveness probe should not print "All nodes are ready!" after an unsuccessful call to kubectl. Instead, it should retry the command after the specified time.

Proposed change(s)

  • Check the exit status of kubectl command and continue the retry loop if the execution failed.
  • Add check to not wait another 30 seconds after last retry has finished.

Related issue

Additional info

Checklist

  • Run the E2E tests that are relevant to this PR's changes
  • Is PR title adequate for changelog?

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Apr 9, 2024

Deploy Preview for constellation-docs canceled.

Name Link
🔨 Latest commit 9e36788
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/66179af1ab75b10008a07a18

davidweisse and others added 2 commits April 9, 2024 16:46
* More output when waiting for nodes to get ready
* Create unique resource group name for Windows e2e test
* Push container images on windows CLI build to fix e2e test

---------

Signed-off-by: Daniel Weiße <[email protected]>
@daniel-weisse
Copy link
Member

daniel-weisse commented Apr 11, 2024

Quick e2e test: https://github.com/edgelesssys/constellation/actions/runs/8643553484

Otherwise looks good to me

Signed-off-by: Daniel Weiße <[email protected]>
@davidweisse davidweisse merged commit e89d8e4 into main Apr 11, 2024
8 checks passed
@davidweisse davidweisse deleted the fix/e2e-windows-liveness-probe branch April 11, 2024 09:27
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.

3 participants