-
Notifications
You must be signed in to change notification settings - Fork 4.8k
ImageRepository lookup should check named repos (not just DockerImageRepository) #635
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
ImageRepository lookup should check named repos (not just DockerImageRepository) #635
Conversation
|
Origin Test Results: Running (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/704/) |
|
@ncdc review. Going to have some changes after this to allow api consumers to get at the DockerImageReference for a tagged image in a single call, want to get this nailed down. |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/736/) |
…itory Do not merge until equivalent lookup is supported in OpenShift under openshift/origin#635
…itory Do not merge until equivalent lookup is supported in OpenShift under openshift/origin#635
7062178 to
d4458e3
Compare
…itory Do not merge until equivalent lookup is supported in OpenShift under openshift/origin#635
d4458e3 to
7408b8d
Compare
|
Upstream item was merged, this is now backwards compatible with old and new registries. |
|
[test] |
4aa4f9a to
d21e7e8
Compare
|
@ncdc this is ready for final review, I'll do the rest of the changes later. |
d21e7e8 to
c0fc22e
Compare
|
[test] |
hack/test-go.sh
Outdated
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.
Is this supposed to be commented out?
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.
Yes, see the comment on the commit
On Jan 19, 2015, at 9:49 AM, Andy Goldstein [email protected] wrote:
In hack/test-go.sh:
fi
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 45s}if [ -z ${KUBE_RACE+x} ]; then
- KUBE_RACE="-race"
- KUBE_RACE="" #"-race"
Is this supposed to be commented out?—
Reply to this email directly or view it on GitHub.
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.
Don't worry about this one, Jordan is reviewing it
On Jan 19, 2015, at 9:49 AM, Andy Goldstein [email protected] wrote:
In hack/test-go.sh:
fi
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 45s}if [ -z ${KUBE_RACE+x} ]; then
- KUBE_RACE="-race"
- KUBE_RACE="" #"-race"
Is this supposed to be commented out?—
Reply to this email directly or view it on GitHub.
|
A few comments, otherwise LGTM |
Allow ImageRepositoryMapping to accept an ImageRepository Name/Namespace pair along with DockerImageRegistry, make validation detect passing both. Make Image/ImageRepository/ImageRepositoryMapping much more strict.
338478b to
2187e78
Compare
Create a new internal object image/api.DockerImage which has two versions, "1.0" and "pre012" to match the docker client and docker registry API versioning. Allow the version of that API to be passed when submitting an image - if not passed, assume that the object is "1.0" (which is our legacy behavior). Clients should set "apiVersion" inside the "DockerImageMetadata" field for maximum forward compatibility to "1.0". TODO: Upstream should allow the ability to decode and default a kind and apiVersion for maximum flexibility.
This endpoint will be used by clients to fetch the latest image for a given resource. Sets the stage for BuildOutput to be an image reference.
2187e78 to
361cdea
Compare
|
[merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/627/) (Image: devenv-fedora_552) |
|
Evaluated for origin up to 361cdea |
Merged by openshift-bot
|
Changes Unknown when pulling 361cdea on smarterclayton:image_stream_status into * on openshift:master*. |
Do not exclude the excluder for atomic-openshift
GET /imageRepositoryTags/<name>:<tag>endpoint which returns the image that is tagged or a 404.Sets the stage for allowing build output to point to an IR by name
[test]