Skip to content

Allow size of image to be zero when schema1 from Hub - #9118

Merged
smarterclayton merged 1 commit into
openshift:masterfrom
smarterclayton:allow_empty_images
Jun 1, 2016
Merged

smarterclayton merged 1 commit into
openshift:masterfrom
smarterclayton:allow_empty_images

Conversation

@smarterclayton

Copy link
Copy Markdown
Contributor

The DockerHub now converts schema2 image manifests pushed by Docker 1.10
or higher clients into schema1, but when it does that it drops all
v1Compatibility objects except the top layer. When it does that it
loses size info. Since we anticipate moving to schema2 soon, and the
number of schema1 images should decline, adapt the tests to flag this
error.

[merge]

The DockerHub now converts schema2 image manifests pushed by Docker 1.10
or higher clients into schema1, but when it does that it drops all
v1Compatibility objects except the top layer.  When it does that it
loses size info.  Since we anticipate moving to schema2 soon, and the
number of schema1 images should decline, adapt the tests to flag this
error.
@smarterclayton

Copy link
Copy Markdown
Contributor Author

@legionus @pweil- @soltysh please review

@openshift-bot

openshift-bot commented Jun 1, 2016 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge Waiting: You are in the build queue at position: 4

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to b30f322

@openshift-bot

Copy link
Copy Markdown
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to b30f322

@smarterclayton

Copy link
Copy Markdown
Contributor Author

I'm going to direct merge when tests pass.

@legionus

legionus commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

You forgot about TestImageStreamImportDockerHub

@smarterclayton

Copy link
Copy Markdown
Contributor Author

It is not failing for me

@legionus

legionus commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

My mistake. Sorry.

@soltysh

soltysh commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

LGTM

@openshift-bot

Copy link
Copy Markdown
Contributor

@soltysh

soltysh commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

[merge]

@smarterclayton
smarterclayton merged commit f5bf5fd into openshift:master Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants