-
Notifications
You must be signed in to change notification settings - Fork 135
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
TEP 0122 - Adding taskspec to buildConfig and taskrunspec to parameters #663
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
This LGTM, but can you please complete the Submitter Checklist
?
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.
I'd hold off on the attest/extract package moves for another PR unless we strictly need them to avoid import cycles - they're fairly specific to intoto/slsa so they probably still belong in a intoto/slsa rooted directory.
/hold wait for some other PRs to be merged first. |
/hold cancel |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
e0c17ed
to
cf29413
Compare
The following is the coverage report on the affected files.
|
cf29413
to
a808702
Compare
The following is the coverage report on the affected files.
|
a808702
to
781e8be
Compare
The following is the coverage report on the affected files.
|
781e8be
to
8afcb13
Compare
The following is the coverage report on the affected files.
|
8afcb13
to
43ce306
Compare
This PR introduces a new format `slsa/v2` which contains the complete build instructions as designed in TEP0122. Note that we are currently surfacing it for the users as `slsa/v2alpha1` since it is WIP and will undergo updates until we make it available for pipelineruns as well.
43ce306
to
3e909af
Compare
The following is the coverage report on the affected files.
|
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! Just one small tweak to the docs and good to merge.
@@ -51,11 +51,12 @@ Supported keys include: | |||
|
|||
| Key | Description | Supported Values | Default | | |||
| :--- | :--- | :--- | :--- | | |||
| `artifacts.taskrun.format` | The format to store `TaskRun` payloads in. | `in-toto`, `slsa/v1`| `in-toto` | | |||
| `artifacts.taskrun.format` | The format to store `TaskRun` payloads in. | `in-toto`, `slsa/v1`, `slsa/v2alpha1`| `in-toto` | |
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.
I'd go a step further and remove it from the top level config docs for now and just leave it documented in slsa/README.md.
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.
Sounds good!
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.
eh I won't block submission on a 1 line change. I'll send you a PR once this is in.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bendory, wlynch 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 |
/lgtm |
This PR introduces a new format
slsa/v2alpha1
(later switch toslsa/v2
) fortaskrun provenance
which contains complete build instructions as proposed in TEP0122. This is a backwards incompatible change but necessary for completeness of build instructions. While it's in alpha state, it is considered WIP and will undergo multiple upgrades until it is feature complete.Changes
This PR adds the complete
TaskSpec
in thebuildConfig
andTaskRunSpec
fields toinvocation.Parameters
.invocation.Environment
section of the provenance will be added in a follow up PR after the feature flags are surfaced in the taskrun status.Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes
/kind feature