test: e2e sign/verify/trustpolicy test cases#496
test: e2e sign/verify/trustpolicy test cases#496shizhMSFT merged 4 commits intonotaryproject:mainfrom
Conversation
Codecov Report
📣 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 #496 +/- ##
=======================================
Coverage 29.61% 29.61%
=======================================
Files 26 26
Lines 1513 1513
=======================================
Hits 448 448
Misses 1048 1048
Partials 17 17 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
test/e2e/testdata/config/trustpolicys/override_audit_trustpolicy.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
As of Jan. 2023, we are going to support two combinations in Notaiton, namely:
- OCI artifact manifest + Referrers API
- OCI image manifest + Image Index
We should also have e2e test cases for Sign/Verify to cover the above scenario. Basically, it's more related to the Sign process. For example, we can have a registry in e2e that supports OCI artifact manifest but not Referrers api such as Docker hub, Sign would then be expected to fail.
On the other hand, we could also have a registry which doesn't support OCI artifact manifest nor Referrers api, but if we enable the OCI image manifest flag, Sign would be expected to success. (We can include these test cases in a future PR though if it's more preferrable)
ba5142b to
1c3c214
Compare
|
Do we have a test case that's covering |
Added multi-statements trust policy test cases |
435699e to
e192bfa
Compare
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
e192bfa to
73502e8
Compare
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
73502e8 to
d41e602
Compare
- Added sign test cases - Added old notation forward compatibility test Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
- Added sign test cases - Added old notation forward compatibility test Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Please follow the order to review: #493 -> #494 -> this PR
Signed-off-by: Junjie Gao junjiegao@microsoft.com