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

Use OCI Image Manifest v1 #300

Merged
merged 1 commit into from
May 4, 2021
Merged

Use OCI Image Manifest v1 #300

merged 1 commit into from
May 4, 2021

Conversation

dekkagaijin
Copy link
Member

@dekkagaijin dekkagaijin commented May 4, 2021

Fixes #250

Signed-off-by: Jake Sanders [email protected]

@dekkagaijin dekkagaijin requested a review from dlorenc May 4, 2021 18:51
@dekkagaijin
Copy link
Member Author

/cc @jonjohnsonjr

@dekkagaijin
Copy link
Member Author

@jonjohnsonjr any guesses how/where this might not work? GCR is happy

Copy link
Contributor

@jonjohnsonjr jonjohnsonjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm honestly surprised GCR doesn't complain.

@dekkagaijin dekkagaijin force-pushed the oci branch 5 times, most recently from 254fe7f to 69b429d Compare May 4, 2021 20:20
@dlorenc
Copy link
Member

dlorenc commented May 4, 2021

One nit, a one-line integration test of the legacy env var here would be good too: https://github.com/sigstore/cosign/blob/main/test/e2e_test_secrets.sh#L55

@dekkagaijin dekkagaijin force-pushed the oci branch 2 times, most recently from faabe9f to 91f7625 Compare May 4, 2021 21:33
// should never happen...?
return nil, err
}
m.Config.MediaType = types.OCIConfigJSON
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that's interesting. I don't think we intended for that return value to be mutable, but I guess it is...

cc @imjasonh I would consider this a bug.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hahha.

Copy link
Member Author

@dekkagaijin dekkagaijin May 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let us have our fun :p

I will not be contained!

@dekkagaijin
Copy link
Member Author

One nit, a one-line integration test of the legacy env var here would be good too: https://github.com/sigstore/cosign/blob/main/test/e2e_test_secrets.sh#L55

done

Signed-off-by: Jake Sanders <[email protected]>
@dekkagaijin dekkagaijin merged commit 6a2c836 into sigstore:main May 4, 2021
@dekkagaijin dekkagaijin deleted the oci branch May 4, 2021 22:19
@dlorenc dlorenc mentioned this pull request May 5, 2021
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.

Spec: Switch to OCI media types
3 participants