-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Enhance new-app circular test to handle ImageStreamImage refs #13233
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
Conversation
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.
one nit and lgtm.
pkg/generate/app/cmd/newapp.go
Outdated
@@ -823,6 +823,15 @@ func (c *AppConfig) followRefToDockerImage(ref *kapi.ObjectReference, isContext | |||
return ©, nil | |||
} | |||
|
|||
if ref.Kind == "ImageStreamImage" { | |||
// even if the associated tag for this ImageStreamImage matches a output ImageStreamTag, when the image | |||
// is build it will have a new sha ... you are essentially using a single/unique older version of a image in the base |
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.
s/build/built/
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.
update pushed
[merge] |
Evaluated for origin merge up to 5b464bf |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to 5b464bf |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/824/) (Base Commit: 87597f4) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/832/) (Base Commit: 71f5cfe) (Image: devenv-rhel7_6037) |
bug 1422378
https://bugzilla.redhat.com/show_bug.cgi?id=1422378
@csrwng ptal
(quick background - I went back and forth on translating the ImageStreamImage name to docker refs or ImageStreamTags, but then convinced myself that was unnecessary)
@openshift/devex fyi