Full access to image url and digest in StorageOpts
Changes
Related to https://github.com/tektoncd/chains/issues/476
Prior, the StorageOpts key for OCI artifact was the first 12 characters of the digest.
Now, we set it to be the full representation of the OCI artifact in the format of
IMAGE_URL@IMAGE_DIGEST so that storage backends can have the full
access to the identifier of the OCI artifact directly.
Signed-off-by: Chuang Wang [email protected]
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
- [ ] Has Docs included if any changes are user facing
- [ ] Has Tests included if any functionality added or changed
- [x] Follows the commit message standard
- [x] Meets the Tekton contributor standards (including functionality, content, code)
- [x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
- [ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release
Release Notes
StorageOpts have the full access to the image identifier.
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
The following is the coverage report on the affected files.
Say /test pull-tekton-chains-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/chains/storage/grafeas/grafeas.go | 79.3% | 78.8% | -0.6 |
The following is the coverage report on the affected files.
Say /test pull-tekton-chains-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/chains/storage/grafeas/grafeas.go | 79.3% | 78.8% | -0.6 |
The following is the coverage report on the affected files.
Say /test pull-tekton-chains-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/artifacts/signable.go | 68.9% | 64.0% | -5.0 |
| pkg/chains/storage/grafeas/grafeas.go | 79.3% | 78.8% | -0.6 |
/retest
/retest
/assign @wlynch
The following is the coverage report on the affected files.
Say /test pull-tekton-chains-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/artifacts/signable.go | 68.9% | 64.0% | -5.0 |
| pkg/chains/storage/grafeas/grafeas.go | 79.3% | 78.8% | -0.6 |
The following is the coverage report on the affected files.
Say /test pull-tekton-chains-go-coverage to re-run this coverage report
| File | Old Coverage | New Coverage | Delta |
|---|---|---|---|
| pkg/artifacts/signable.go | 68.9% | 64.0% | -5.0 |
| pkg/chains/storage/grafeas/grafeas.go | 79.3% | 78.8% | -0.6 |
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: wlynch
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [wlynch]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment