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

Update: added ErrorPushSignatureFailed #271

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

patrickzheng200
Copy link
Contributor

This PR adds a ErrorPushSignatureFailed error type so that users of notation.Sign() would be able to check error type on Signing failures.
On notation CLI side, if the error is of type ErrorPushSignatureFailed, a suggestion of using OCI image manifest will be printed out.

Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
@codecov-commenter
Copy link

Codecov Report

Merging #271 (2f735a7) into main (920ded2) will decrease coverage by 0.20%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #271      +/-   ##
==========================================
- Coverage   73.72%   73.53%   -0.20%     
==========================================
  Files          23       23              
  Lines        1918     1923       +5     
==========================================
  Hits         1414     1414              
- Misses        405      410       +5     
  Partials       99       99              
Impacted Files Coverage Δ
errors.go 0.00% <0.00%> (ø)
notation.go 61.43% <0.00%> (ø)

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

Copy link
Contributor

@JeyJeyGao JeyJeyGao 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

@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

@priteshbandi priteshbandi merged commit 5e5cba1 into notaryproject:main Feb 7, 2023
@patrickzheng200 patrickzheng200 deleted the sigPush branch February 8, 2023 01:58
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.

6 participants