-
Notifications
You must be signed in to change notification settings - Fork 133
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
Create new buildType for tekton specific verifiers #895
Conversation
Hi @joejstuart. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Setting this as a draft while conflicts are fixed |
d9f0026
to
0c655f0
Compare
0c655f0
to
954875d
Compare
|
||
const ( | ||
SlsaBuildType = "https://tekton.dev/chains/v2/slsa" | ||
TektonBuildType = "" |
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.
Still undecided what this should be.
06475b8
to
9cfd86c
Compare
/ok-to-test |
The following is the coverage report on the affected files.
|
9cfd86c
to
f406d38
Compare
The following is the coverage report on the affected files.
|
Hi @joejstuart, we generally sqash the commits into a single commit for a PR (please do that if you can 🙏 ). You can capture the high level changes in the PR description. |
f406d38
to
0cb7d73
Compare
The following is the coverage report on the affected files.
|
0cb7d73
to
51b23bf
Compare
The following is the coverage report on the affected files.
|
13f381f
to
6c7c54e
Compare
The following is the coverage report on the affected files.
|
6c7c54e
to
3620b9b
Compare
The following is the coverage report on the affected files.
|
3620b9b
to
ec8ca84
Compare
The following is the coverage report on the affected files.
|
ec8ca84
to
35cbe22
Compare
The following is the coverage report on the affected files.
|
support more general slsa verifiers and provide more verbose output for tekton verifiers. This implementation will default to the slsa buildType.
35cbe22
to
639fce9
Compare
The following is the coverage report on the affected files.
|
@@ -200,6 +205,9 @@ const ( | |||
transparencyEnabledKey = "transparency.enabled" | |||
transparencyURLKey = "transparency.url" | |||
|
|||
// Build type | |||
buildTypeKey = "builddefinition.buildtype" |
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.
Let's do a follow up PR to document this.
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lcarva The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@joejstuart could you please document the new config option in https://github.com/tektoncd/chains/blob/main/docs/config.md? Since this addition is slsa-related, I feel like we should also document some details in https://github.com/tektoncd/chains/pulls once it's merged. WDYT? |
|
documentation for tektoncd#895
I am sorry for the confusion, I must have copied the pr link too fast and miss the number 😢 #913 is what I mean. We can add slsa-related topics to this doc once it's merged. |
documentation for tektoncd#895
documentation for tektoncd#895
documentation for tektoncd#895
documentation for tektoncd#895
documentation for tektoncd#895
Changes
This change introduces a new buildType for pipelineRun and taskRun attestations that produces more verbose output. The buildType is based off of this design doc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes