-
Notifications
You must be signed in to change notification settings - Fork 84
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: add policy command #333
Conversation
ffa425a
to
1e69d59
Compare
1e69d59
to
1954a28
Compare
3044065
to
348a110
Compare
Codecov Report
@@ Coverage Diff @@
## dev-rc.1 #333 +/- ##
============================================
+ Coverage 31.15% 31.82% +0.67%
============================================
Files 26 27 +1
Lines 1711 1986 +275
============================================
+ Hits 533 632 +99
- Misses 1161 1332 +171
- Partials 17 22 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
82aed08
to
d2bcec7
Compare
There was a problem hiding this 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: Binbin Li <libinbin@microsoft.com>
Signed-off-by: Binbin Li <libinbin@microsoft.com>
Now that notaryproject/notation-go#132 is merged, does this make sense to try to PR to main and kick off a review from everyone else? |
Signed-off-by: Binbin Li <libinbin@microsoft.com>
d2bcec7
to
e41bb47
Compare
Once we fully test the dev-rc.1 branch, we can make the PR to main. |
What?
Add policy commands. It supports adding/updating/reading/deleting policies.
Spec can be found in https://hackmd.io/AP9Xz9AbRpOy6ASpbok23A?view#Manage-Trust-Policy.
Test
Manually tested commands. Test cases can be checked in: https://hackmd.io/@H7a8_rG4SuaKwzu4NLT-9Q/S1j2Yspxj
Notes
This PR depends on notaryproject/notation-go#132, so the build will fail until it's merged.
Signed-off-by: Binbin Li libinbin@microsoft.com