-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add isBuildArtifact field to Artifacts #8103
Conversation
/assign @ericzzzzzzz |
@chitrangpatel: GitHub didn't allow me to assign the following users: ericzzzzzzz. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
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. |
We may need to refactor
IsBuildArtifact from stepArtifact into taskArtifact, without this, IsBuildArtifact will not be propagated to status.Artifacts.outputs if we write artifacts to $(step.artifacts.path)
|
91b33cc
to
1d79f89
Compare
Thanks! I think I fixed it. When merging, even if one of the artifacts has isBuildArtifact: true then we merge them with the |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
1d79f89
to
5555e6c
Compare
/hold wait for tektoncd/community#1155 |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/approve |
/hold cancel |
5555e6c
to
d4d9c81
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
d4d9c81
to
a4a85f9
Compare
3256222
to
faa32cb
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
faa32cb
to
1ec6980
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
1 similar comment
/retest |
1ec6980
to
ce1c5b9
Compare
This PR adds isBuildArtifact field to Artifacts. This field will allow Tekton Chains to understand user's desire and appropriate add the artifact as a subject or a byProduct in the SLSA provenance.
ce1c5b9
to
0f2b540
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
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.
|
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.
Checking my understanding - this field should have the same stability level as Artifacts
as an alpha feature correct?
btw I don't seem to find artifacts in the alpha feature table https://github.com/tektoncd/pipeline/blob/main/docs/additional-configs.md#alpha-features?
Yes, that's right. It should be the same stability level.
I can add that in a separate PR. |
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.
Mostly LGTM, just some minor feature versioning issue mentioned which could be in separate PRs.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ericzzzzzzz, JeromeJu 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 |
/retest |
Changes
As justified in TEP tektoncd/community#1155, this PR adds
isBuildArtifact
field to Artifacts.This field will allow Tekton Chains to understand user's desire and appropriate add the artifact as a subject or a byProduct in the SLSA provenance.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/kind feature