-
Notifications
You must be signed in to change notification settings - Fork 288
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
Add Tinkerbell E2E test for Ubuntu 22.04 RTOS image #8225
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8225 +/- ##
=======================================
Coverage 73.42% 73.42%
=======================================
Files 577 577
Lines 35944 35944
=======================================
Hits 26391 26391
Misses 7884 7884
Partials 1669 1669 ☔ View full report in Codecov by Sentry. |
75e3c76
to
66caa2d
Compare
test/framework/tinkerbell.go
Outdated
tinkerbellImageUbuntu2204Kubernetes127EnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_27" | ||
tinkerbellImageUbuntu2204Kubernetes128EnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_28" | ||
tinkerbellImageUbuntu2204Kubernetes129EnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29" | ||
tinkerbellImageUbuntu2204Kubernetes129RtosEnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29_RTOS" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tinkerbellImageUbuntu2204Kubernetes129RtosEnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29_RTOS" | |
tinkerbellImageUbuntu2204Kubernetes129RTOSEnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29_RTOS" |
test/framework/tinkerbell.go
Outdated
@@ -55,6 +56,7 @@ var requiredTinkerbellEnvVars = []string{ | |||
tinkerbellImageUbuntu2204Kubernetes127EnvVar, | |||
tinkerbellImageUbuntu2204Kubernetes128EnvVar, | |||
tinkerbellImageUbuntu2204Kubernetes129EnvVar, | |||
tinkerbellImageUbuntu2204Kubernetes129RtosEnvVar, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here?
test/framework/tinkerbell.go
Outdated
if len(rtos) > 0 { | ||
if rtos[0] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we combine these?
if len(rtos) > 0 { | |
if rtos[0] { | |
if len(rtos) > 0 && rtos[0] { | |
imageEnvVar = fmt.Sprintf("%s_RTOS", imageEnvVar) | |
} |
66caa2d
to
5f34092
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhay-krishna The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR adds Tinkerbell integration tests to verify the Ubuntu 22.04 RTOS image in an end-to-end cluster creation flow.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.