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

Canary Deployment Changes #3051

Merged
merged 17 commits into from
Aug 7, 2024

Conversation

gururajsh
Copy link
Member

  • Changes to CC api to send in the deployment strategy (before CLI didn't send one and it was assumed to be rolling)
  • Restart command support for canary

Co-authored-by: Joao Pereira
[email protected]

@gururajsh gururajsh marked this pull request as ready for review July 31, 2024 17:01
h.Name = constant.DeploymentStrategy(valLower)

default:
return &flags.Error{
Type: flags.ErrInvalidChoice,
Message: `STRATEGY must be "rolling" or not set`,
Message: `STRATEGY must be "canary", "rolling" or not set`,
Copy link
Contributor

Choose a reason for hiding this comment

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

non-blocking/thought I'd favour letting the API decide what is a valid strategy rather than enumerating it in the CLI.

Samze
Samze previously approved these changes Jul 31, 2024
Copy link
Contributor

@Samze Samze left a comment

Choose a reason for hiding this comment

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

Few nits, rest LGTM.

@gururajsh gururajsh force-pushed the canary-restart-command-v8 branch from b66d405 to 24717d9 Compare July 31, 2024 19:11
Samze
Samze previously approved these changes Aug 6, 2024
@joaopapereira joaopapereira merged commit 825bd3a into cloudfoundry:v8 Aug 7, 2024
17 checks passed
@gururajsh gururajsh deleted the canary-restart-command-v8 branch August 7, 2024 14:43
@gururajsh gururajsh restored the canary-restart-command-v8 branch August 7, 2024 14:43
gururajsh added a commit to gururajsh/cli that referenced this pull request Aug 7, 2024
Introduce canary strategy on all the commands

Co-authored-by: João Pereira <[email protected]>
joaopapereira added a commit to joaopapereira/cf-cli that referenced this pull request Aug 7, 2024
Introduce canary strategy on all the commands

Co-authored-by: João Pereira <[email protected]>
gururajsh added a commit to gururajsh/cli that referenced this pull request Aug 7, 2024
Introduce canary strategy on all the commands

Co-authored-by: João Pereira <[email protected]>
joaopapereira added a commit that referenced this pull request Aug 7, 2024
Introduce canary strategy on all the commands

Co-authored-by: João Pereira <[email protected]>
nicolasbender pushed a commit to sap-contributions/cli that referenced this pull request Nov 5, 2024
Introduce canary strategy on all the commands

Co-authored-by: João Pereira <[email protected]>
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