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

Automate Qase 153, 151, and 87 #241

Merged
merged 8 commits into from
Jan 24, 2025
Merged

Automate Qase 153, 151, and 87 #241

merged 8 commits into from
Jan 24, 2025

Conversation

valaparthvi
Copy link
Collaborator

@valaparthvi valaparthvi commented Jan 22, 2025

What does this PR do?

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #

Checklist:

Special notes for your reviewer:

@valaparthvi valaparthvi marked this pull request as ready for review January 23, 2025 08:36
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
@@ -167,6 +167,23 @@ var _ = Describe("P1Import", func() {
updateTagsAndLabels(cluster, ctx.RancherAdminClient)
})

It("Add a nodegroup in EKS → Syncs to Rancher → Update cluster, the nodegroup is intact", func() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't be ASCII -> better?

Co-authored-by: Parthvi Vala <[email protected]>
Co-authored-by: Tomas Hehejik <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Copy link
Collaborator

@thehejik thehejik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

err = clusters.WaitClusterToBeUpgraded(ctx.RancherAdminClient, cluster.ID)
Expect(err).To(BeNil())
Eventually(func() bool {
cluster, err = helper.UpdateCluster(cluster, ctx.RancherAdminClient, updateFunc)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is UpdateCluster required again here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, that shouldn't have been here. It is supposed to simply fetch the cluster. Let me fix that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

valaparthvi and others added 3 commits January 23, 2025 16:38
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Co-authored-by: Chandan Pinjani <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi requested a review from cpinjani January 23, 2025 15:33
Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi merged commit 5c029b1 into main Jan 24, 2025
2 checks passed
@valaparthvi valaparthvi deleted the eks-automation-2 branch January 24, 2025 08:32
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