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

fix(artifacts): don't keep marking as deployed over and over #982

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

emjburns
Copy link
Contributor

@emjburns emjburns commented Apr 7, 2020

I discovered that as long as an artifact is deployed, we will keep marking it as successfully deployed/current to an environment over and over again. This means that the deployed time will keep updating. This is confusing and incorrect. This PR fixes the behavior so we only mark a version as current in an environment if the version is not current.

Pretty sure this bug has been around for months but I didn't notice it until the awesome environments view kept telling me my artifact was deployed "less than a minute ago"

Copy link
Contributor

@lorin lorin left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@luispollo luispollo left a comment

Choose a reason for hiding this comment

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

Good find! Looks good to me.

@emjburns emjburns added the ready to merge Approved and ready for merge label Apr 8, 2020
@mergify mergify bot merged commit 9487120 into spinnaker:master Apr 8, 2020
@mergify mergify bot added the auto merged label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged ready to merge Approved and ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants