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

feat: support OCI image manifest #241

Merged
merged 14 commits into from
Jan 19, 2023
Merged

Conversation

patrickzheng200
Copy link
Contributor

@patrickzheng200 patrickzheng200 commented Jan 12, 2023

This PR is the implementation of the spec.

Tested with [COSE, JWS] + [OCI artifact manifest, OCI image manifest] on ACR.

Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jan 12, 2023

Codecov Report

Merging #241 (4e4d1f0) into main (e11bfd8) will decrease coverage by 0.05%.
The diff coverage is 16.21%.

@@            Coverage Diff             @@
##             main     #241      +/-   ##
==========================================
- Coverage   73.31%   73.25%   -0.06%     
==========================================
  Files          23       23              
  Lines        1746     1761      +15     
==========================================
+ Hits         1280     1290      +10     
- Misses        372      376       +4     
- Partials       94       95       +1     
Impacted Files Coverage Δ
registry/repository.go 39.18% <13.88%> (+6.98%) ⬆️
notation.go 59.86% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

notation.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
@shizhMSFT shizhMSFT changed the title Feat: added OCI image manifest support feat: support OCI image manifest Jan 12, 2023
Signed-off-by: Patrick Zheng <[email protected]>
@patrickzheng200 patrickzheng200 self-assigned this Jan 13, 2023
@patrickzheng200 patrickzheng200 added the enhancement New feature or request label Jan 13, 2023
@patrickzheng200 patrickzheng200 added this to the RC-2 milestone Jan 13, 2023
@patrickzheng200 patrickzheng200 linked an issue Jan 13, 2023 that may be closed by this pull request
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

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

LGTM

Although we will need to do some additional work for notaryproject/specifications#219 & notaryproject/specifications#220; this will act as a stepping stone.

@shizhMSFT shizhMSFT merged commit 36d97f7 into notaryproject:main Jan 19, 2023
@patrickzheng200 patrickzheng200 deleted the image branch January 19, 2023 02:31
priteshbandi pushed a commit to priteshbandi/notation-go that referenced this pull request Feb 1, 2023
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
priteshbandi pushed a commit to priteshbandi/notation-go that referenced this pull request Feb 1, 2023
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
priteshbandi pushed a commit to priteshbandi/notation-go that referenced this pull request Feb 1, 2023
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
priteshbandi pushed a commit to priteshbandi/notation-go that referenced this pull request Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

notation supports OCI Image manifest
5 participants