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 Canary Deployment tests #101

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Add Canary Deployment tests #101

merged 1 commit into from
Aug 15, 2024

Conversation

Samze
Copy link
Contributor

@Samze Samze commented Jul 18, 2024

Add Baras tests for canary deployments

Relates to cloudfoundry/cloud_controller_ng#3837

Co-authored-by: Seth Boyles <[email protected]>
@Samze Samze marked this pull request as draft July 18, 2024 22:04
@Samze Samze changed the title Add canary deployment tests Add Ccanary Deployment tests Jul 18, 2024
@Samze Samze changed the title Add Ccanary Deployment tests Add Canary Deployment tests Jul 18, 2024
@Samze Samze marked this pull request as ready for review July 30, 2024 19:43
Expect(deploymentGUID).ToNot(BeEmpty())
WaitUntilDeploymentReachesStatus(deploymentGUID, "FINALIZED", "DEPLOYED")
})
})

Describe("Canary deployments", func() {
Copy link
Member

Choose a reason for hiding this comment

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

thought(non-blocking): Should we have similar describe block for rolling deployments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some of the existing tests are not specific for rolling, so we'd need to do some surgery to unpick the strategy specific tests. For now I think we can leave it and revisit it if we add a future strategy.

Copy link

@joaopapereira joaopapereira left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@a-b a-b left a comment

Choose a reason for hiding this comment

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

LGTM

@Samze Samze requested a review from sethboyles August 12, 2024 21:43
Copy link

@xandroc xandroc left a comment

Choose a reason for hiding this comment

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

nice work!

Copy link
Member

@tcdowney tcdowney left a comment

Choose a reason for hiding this comment

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

LGTM

@Samze Samze merged commit c99a55c into main Aug 15, 2024
1 check passed
@moleske moleske deleted the canary_deploy_baras branch August 16, 2024 02:03
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.

5 participants