-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
deploy: fix initial image change deployments #9539
deploy: fix initial image change deployments #9539
Conversation
[testextended][extended:core(Docker image source)] |
Evaluated for origin testextended up to 7aeb1a7 |
@mfojtik ptal |
continuous-integration/openshift-jenkins/testextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin_extended/230/) (Extended Tests: core(Docker image source)) |
green extended test [merge] @mfojtik review at your pleasure |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to 7aeb1a7 |
// triggers and compare with the present trigger. Initial deployments | ||
// should always trigger since there is no previous config to compare to. | ||
if config.Status.LatestVersion > 0 { | ||
if !triggeredByDifferentImage(*t.ImageChangeParams, *decoded) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if config.Status.LatestVersion > 0 && !triggeredByDifferentImage(*t.ImageChangeParams, *decoded) {
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in #9349 where I am moving all this code in rest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.
@Kargakis one nit, LGTM |
@Kargakis merge at green. |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5363/) |
Flaked on #9444. [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5417/) (Image: devenv-rhel7_4462) |
[merge] |
Evaluated for origin merge up to 7aeb1a7 |
Fixes #9530