Skip to content

Conversation

@weresch
Copy link

@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

Greg 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
@weresch weresch deleted the 187943679-view-canary-deployment-status-v8 branch August 2, 2024 16:24
@a-b a-b mentioned this pull request Feb 25, 2025
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