Re-add support for full task status for backward compatibility#790
Conversation
|
The following is the coverage report on the affected files.
|
5d818ac to
6f1850b
Compare
|
The following is the coverage report on the affected files.
|
6f1850b to
8d26241
Compare
|
The following is the coverage report on the affected files.
|
8d26241 to
dca71d7
Compare
|
The following is the coverage report on the affected files.
|
dca71d7 to
c474d3e
Compare
|
The following is the coverage report on the affected files.
|
c474d3e to
c272352
Compare
|
The following is the coverage report on the affected files.
|
|
/assign @wlynch |
| value := reflect.ValueOf(pr.Status) | ||
| field := value.FieldByName(fieldName) |
There was a problem hiding this comment.
Why use reflection here? I think we can just revert what we did in e813ece
There was a problem hiding this comment.
Good point. I removed it.
c272352 to
ea8fb9d
Compare
|
The following is the coverage report on the affected files.
|
Tektoncd/pipelines release v0.45 came with some breaking changes. As a result, Chains needed to be updated. Support for fully embedded task specs in pipelinerun status had to be removed. This PR re-adds support for those fields to make chains compatible with older versions of Tekton pipelines (<v0.45).
ea8fb9d to
d8ee2d0
Compare
|
The following is the coverage report on the affected files.
|
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Tektoncd/pipelines release v0.45 came with some breaking changes. As a result, Chains needed to be updated. Support for fully embedded task status in pipelinerun status had to be removed. This PR re-adds support for those fields to make chains compatible with older versions of Tekton pipelines (<v0.45).
This PR will close out Issue #711
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes
/kind feature