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: do not create background analysisruns with initial deploy #722

Merged
merged 1 commit into from Sep 22, 2020

Conversation

jessesuen
Copy link
Member

@jessesuen jessesuen commented Sep 19, 2020

Resolves #714

The check for detecting an initial deploy and conditionally creating a background analysisrun was incomplete. It did not catch a scenario where Rollout.Status.StableRS == "". Not sure why this is true in v0.9. but not v0.8

This is stacked ontop of another PR so only look at 9d1424e

@jessesuen jessesuen changed the title fix: do not create analysisruns with initial deploy fix: do not create background analysisruns with initial deploy Sep 19, 2020
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2020

Codecov Report

Merging #722 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #722   +/-   ##
=======================================
  Coverage   82.96%   82.96%           
=======================================
  Files          95       95           
  Lines        7915     7915           
=======================================
  Hits         6567     6567           
  Misses        947      947           
  Partials      401      401           
Impacted Files Coverage Δ
rollout/analysis.go 86.40% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a297c86...ed2964b. Read the comment docs.

Copy link
Contributor

@khhirani khhirani left a comment

Choose a reason for hiding this comment

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

LGTM

@jessesuen jessesuen merged commit 728437f into argoproj:master Sep 22, 2020
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.

Rollout is creating analysisRun on initial deploy
3 participants