-
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
Fix annotation trigger to reconcile on container image change #18513
Fix annotation trigger to reconcile on container image change #18513
Conversation
/cherrypick release-3.8 |
@tnozicka: once the present PR merges, I will cherry-pick it on top of release-3.8 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick release-3.7 |
@tnozicka: once the present PR merges, I will cherry-pick it on top of release-3.7 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@openshift-ci-robot why would you request 2 more people when I've already requested review from 3 people? @Kargakis ? (you are the bot expert) |
@@ -11,3 +11,4 @@ approvers: | |||
- soltysh | |||
- mfojtik | |||
- liggitt | |||
- tnozicka |
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.
Add yourself as a reviewer too
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.
I though approver is a superset includung reviewer. I think I've already done it somewhere and lgtm works there. What's the difference?
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.
/gtm
works everywhere - the reviewers section is used by the bot to request reviews automatically.
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.
now you will have to do image api reviews \o/ :-)
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.
oh no, I am going to fall back
Unfortunately, the bot does not identify manual review requests today. If you used the bot's review request command ( |
@Kargakis thanks for the explanation, I am fine using |
7a9f71a
to
7057684
Compare
|
||
newContainer, _, err := ContainerForObjectFieldPath(newObj, trigger.FieldPath) | ||
if err != nil { | ||
glog.V(5).Infof("%v", err) |
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.
please add context for this error
|
||
oldContainer, _, err := ContainerForObjectFieldPath(oldObj, trigger.FieldPath) | ||
if err != nil { | ||
// might just be a result of the update |
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.
glog(5) here as well
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 the triggers has changed or the images and the field path is valid only for the new image+trigger combination there will always be an error here although it's not an error in this case
LGTM, will tag on green tests |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mfojtik, tnozicka The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 18503, 18399, 13701, 18513, 18515). |
@tnozicka: #18513 failed to apply on top of branch "release-3.8":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@tnozicka: #18513 failed to apply on top of branch "release-3.7":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1541685
@smarterclayton this should fix your issues with DS and annotation trigger