Skip to content
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

An image represents a manifest (and is a blob) and also references a config #20458

Merged

Conversation

smarterclayton
Copy link
Contributor

Our external API and internal structure is wrong. All images are manifests, and all manifests are blobs.
In addition, a v2 schema 2 manifest references a blob that is a "config", not a "manifest".

Corrected the internal code so that the image/manifest digest now shows up in blobs, renamed the internal
field "config", and set the correct mime types and fixed tests.

Replaces openshift/image-registry#115

…config

Our external API and internal structure is wrong. All images are manifests, and all manifests are blobs.
In addition, a v2 schema 2 manifest references a blob that is a "config", not a "manifest".

Corrected the internal code so that the image/manifest digest now shows up in blobs, renamed the internal
field "config", and set the correct mime types and fixed tests.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2018
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 28, 2018
@smarterclayton
Copy link
Contributor Author

Second API change is in openshift/api#79

@bparees
Copy link
Contributor

bparees commented Jul 29, 2018

how did this pass tests w/o either the internal or external api changes?

@smarterclayton
Copy link
Contributor Author

I didn’t change the api in this. This corrects the issue. The api is just cosmetic and can be done second

@bparees
Copy link
Contributor

bparees commented Jul 30, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 30, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 31f6201 into openshift:master Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants