-
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 PipelineRunStatus Conversion #5797
Conversation
Skipping CI for Draft Pull Request. |
8d38c41
to
4d478ad
Compare
4d478ad
to
f8ddb09
Compare
The following is the coverage report on the affected files.
|
f8ddb09
to
f99efe4
Compare
The following is the coverage report on the affected files.
|
f99efe4
to
7123afc
Compare
The following is the coverage report on the affected files.
|
351823f
to
601e7d0
Compare
The following is the coverage report on the affected files.
|
ab4e004
to
ccec3e1
Compare
The following is the coverage report on the affected files.
|
/hold cancel |
The following is the coverage report on the affected files.
|
/retest |
@JeromeJu PR description needs an update since we are converting vs returning an error now? |
ca8e642
to
aa69606
Compare
The following is the coverage report on the affected files.
|
aa69606
to
68d50af
Compare
The following is the coverage report on the affected files.
|
68d50af
to
ee215bd
Compare
The following is the coverage report on the affected files.
|
48cc583
to
dde91e2
Compare
This commit adds the conversion for PipelineRunStatus. For the deprecated fields TaskRuns and Runs, they are serialized into ObjectMeta.Annotations when converting from v1beta1 to v1 since there exists no `status.taskRuns` and `status.runs` in v1. And therefore when the `embedded-status` is set to `Full` or `Both`, the respective `status.taskRuns` and `statuss.runs` could be populated with the deserializations from the annotations.
dde91e2
to
76e51b3
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.
Thanks @JeromeJu - Looks good to me now!
@afrittoli @vdemeester @abayer any other comments to resolve or can we merge this now?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom, lbernick 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 Let's do it! |
Changes
This commit adds the conversion for PipelineRunStatus. For the deprecated fields
PipelineRunStatus.Status.TaskRuns
andPipelineRunStatus.Status.Runs
, they are converted into ChildStatusReference when converting fromv1beta1
tov1
. ThetaskRuns
andruns
are serialized into annotations and would be populated by deserializations from v1 PipelineRunStatus to v1beta1 withFull
orBoth
embeddedStatus./kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes