Repository navigation
Bug1281928 - fix image stream tagging for DockerImage type images. - #5932
Conversation
|
Forgot to add, I'm building this on top of #5931 since it touches the same code base. |
|
As an end user, I shouldn't have to implement client code to tag a docker image repository. So the API needs to handle that for me. |
|
@smarterclayton I agree we should move all the actions to our API, but for now I'm fixing our behavior. I'll create a separate card to move all image related actions to be part of our existing API. |
|
Hold on - this is a released API. Why are you not just correctly fixing On Nov 17, 2015, at 2:54 PM, Maciej Szulik [email protected] wrote: @smarterclayton https://github.com/smarterclayton I agree we should move — |
|
This PR is fixing the current problem with tagging DockerImage-s without any changes in the API. The API change is a RFE. |
|
[test] |
|
@soltysh LGTM |
|
@smarterclayton since you've chimed in awaiting your sing-off. |
|
I, too, am waiting for @smarterclayton's sing-off :) |
There was a problem hiding this comment.
Delete on a nil map is a no op - you don't need the if check.
|
@smarterclayton fixed. |
|
Of course now it failed, with some flake whose name is: re-[test] and be green or otherwise I won't pass @smarterclayton rigorous review ;) |
|
Evaluated for origin test up to fb730e4 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/7514/) |
|
Hrm - this should be a todo: hack: prefix. We need to move to a model where each tag has an individual annotation or formal field about whether it is up to date. We need to have a clear design for how:
|
|
@smarterclayton are you ok with merging this as is and I'll work on a proposed changes in a separate issue? |
|
Yes this is fine. |
|
Got green light. |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/4248/) (Image: devenv-rhel7_2879) |
|
Test flake mentioned in #6031: re-[merge] |
|
Evaluated for origin merge up to fb730e4 |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1281928.
This reverts certain changes from #4853, epecially regarding image stream mapping for DockerImage types. This still needs more work, because with current changes I'm getting double tags created which may result in double builds. The idea is to import tags from external registry (since we provide that functionality right now) for images tagged with
oc tagcommand. This way we wouldn't have to revert the aforementioned changes and still have reasonable output. Still investigating...