-
Notifications
You must be signed in to change notification settings - Fork 139
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
Re-add support for full task status for backward compatibility #790
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use reflection here? I think we can just revert what we did in e813ece
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.
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.
|
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: 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 |
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