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
joaod@vmware.com

@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 and others added 13 commits July 31, 2024 15:09
- 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
<joaod@vmware.com>
Signed-off-by: João Pereira <joaod@vmware.com>
Co-authored-by: Sam Gunaratne <385176+Samze@users.noreply.github.com>
Co-authored-by: Sam Gunaratne <385176+Samze@users.noreply.github.com>
Samze
Samze previously approved these changes Aug 6, 2024
Signed-off-by: João Pereira <joaod@vmware.com>
@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 <joaod@vmware.com>
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 <joaod@vmware.com>
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 <joaod@vmware.com>
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 <joaod@vmware.com>
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