Skip to content

fix: look for materials/git metadata in taskrun results too#263

Merged
tekton-robot merged 2 commits into
tektoncd:mainfrom
sbose78:results-too
Oct 14, 2021
Merged

fix: look for materials/git metadata in taskrun results too#263
tekton-robot merged 2 commits into
tektoncd:mainfrom
sbose78:results-too

Conversation

@sbose78

@sbose78 sbose78 commented Oct 12, 2021

Copy link
Copy Markdown
Contributor

Fixes #251

If source code metadata is resolved using 'results', ensure the same is consumed for "materials"

Signed-off-by: Shoubhik Bose shbose@redhat.com

Signed-off-by: Shoubhik Bose <shbose@redhat.com>
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 12, 2021
@tekton-robot

Copy link
Copy Markdown

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/formats/provenance/provenance.go 66.4% 68.3% 1.9

@sbose78 sbose78 changed the title fix: look for materials/git metadata in taskrun results too WIP fix: look for materials/git metadata in taskrun results too Oct 12, 2021
@tekton-robot tekton-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 12, 2021
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
@sbose78 sbose78 changed the title WIP fix: look for materials/git metadata in taskrun results too fix: look for materials/git metadata in taskrun results too Oct 12, 2021
@tekton-robot tekton-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 12, 2021
@tekton-robot

Copy link
Copy Markdown

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/formats/provenance/provenance.go 66.4% 68.1% 1.7

@priyawadhwa priyawadhwa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: priyawadhwa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2021
@priyawadhwa

Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2021
@tekton-robot tekton-robot merged commit 8ff9f35 into tektoncd:main Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parse results to populate materials field in provenance

3 participants