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

View Canary deployment status when using cf app [v8] #3066

Merged

Conversation

weresch
Copy link
Contributor

@weresch weresch commented Jul 30, 2024

Description of the Change

As a developer
I want to see deployment status when calling cf app myapp
So that I can easily tell if that app is currently being deployed to, and what the status is.

Scenario: A PAUSED Canary Deployment
Given An app has an active/paused Deployment
When I call cf app myapp
Then I see the following line in the CLI output:

Canary Deployment currently PAUSED (since [[insert timestamp]])

Please run `cf continue-deployment myapp` to promote the canary deployment, or `cf cancel-deployment myapp` to rollback to the previous version.

Scenario: A DEPLOYING Canary Deployment
Given An app has an active/deploying Deployment
When I call cf app myapp
Then I see the following line in the CLI output:

Canary Deployment currently DEPLOYING (since [[insert timestamp]])

Scenario: A CANCELING Canary Deployment
Given An app has an active/canceling Deployment
When I call cf app myapp
Then I see the following line in the CLI output:

Canary Deployment currently CANCELING (since [[insert timestamp]])

Scenario: No Current Deployment
Given An app has no ACTIVE Deployments
When I call cf app myapp
Then I see no line about Deployments in the output

CC @a-b

weresch and others added 3 commits July 30, 2024 17:41
Co-authored-by:  Al Berez <al.berez@broadcom.com>
Co-authored-by:  Al Berez <al.berez@broadcom.com>
Co-authored-by:  Al Berez <al.berez@broadcom.com>
Copy link
Contributor

@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

@a-b
Copy link
Member

a-b commented Jul 31, 2024

Rerunning 🔴 integration test. The error looks unrelated to the change.

@a-b a-b merged commit 6e0a003 into cloudfoundry:v8 Jul 31, 2024
16 checks passed
@weresch weresch deleted the 187943679-view-canary-deployment-status-v8 branch August 2, 2024 16:24
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