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

Add Tinkerbell E2E test for Ubuntu 22.04 RTOS image #8225

Merged
merged 1 commit into from
May 31, 2024

Conversation

abhay-krishna
Copy link
Member

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.

@eks-distro-bot eks-distro-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 28, 2024
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.42%. Comparing base (5daadb2) to head (5f34092).

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.
📢 Have feedback on the report? Share it here.

@abhay-krishna abhay-krishna force-pushed the ubuntu-rtos-e2e branch 3 times, most recently from 75e3c76 to 66caa2d Compare May 30, 2024 06:48
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"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
tinkerbellImageUbuntu2204Kubernetes129RtosEnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29_RTOS"
tinkerbellImageUbuntu2204Kubernetes129RTOSEnvVar = "T_TINKERBELL_IMAGE_UBUNTU_2204_1_29_RTOS"

@@ -55,6 +56,7 @@ var requiredTinkerbellEnvVars = []string{
tinkerbellImageUbuntu2204Kubernetes127EnvVar,
tinkerbellImageUbuntu2204Kubernetes128EnvVar,
tinkerbellImageUbuntu2204Kubernetes129EnvVar,
tinkerbellImageUbuntu2204Kubernetes129RtosEnvVar,
Copy link
Member

Choose a reason for hiding this comment

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

same here?

Comment on lines 198 to 199
if len(rtos) > 0 {
if rtos[0] {
Copy link
Member

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?

Suggested change
if len(rtos) > 0 {
if rtos[0] {
if len(rtos) > 0 && rtos[0] {
imageEnvVar = fmt.Sprintf("%s_RTOS", imageEnvVar)
}

@rahulbabu95
Copy link
Member

/lgtm

@abhay-krishna
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 431ef3d into aws:main May 31, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants