-
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 V1 TaskRun Golang structs #5264
Conversation
Skipping CI for Draft Pull Request. |
3768da8
to
28a6ce2
Compare
28a6ce2
to
0d22419
Compare
0d22419
to
b55e219
Compare
b55e219
to
a3fb582
Compare
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.
|
The following is the coverage report on the affected files.
|
ce34e4c
to
f584deb
Compare
The following is the coverage report on the affected files.
|
b3d80ea
to
9a75b5a
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
b609471
to
38acbc0
Compare
The following is the coverage report on the affected files.
|
38acbc0
to
5d80bc2
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.
/retest
5d80bc2
to
1596a86
Compare
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.
|
As this is a large PR and the changes are copied from v1beta1, put this PR for visualization for easier comparison. |
The following is the coverage report on the affected files.
|
This LGTM. Can you squash up the commits? |
05879df
to
52557b1
Compare
The following is the coverage report on the affected files.
|
This commit adds structs and validation for v1 TaskRun, including params, resultRef and workspaces. This is copied from v1beta1 with the following exceptions: - omitted TaskRunResources - This includes the `TaskRunInputs` and `TaskRunOutputs` and respective test - omitted `CloudEvents` related fields including `CloudEventDeliveryState` - renamed the Go fields of `StepState.ContainerName` to `StepState.Container`and `SidecarState.ContainerName` to `SidecarState.Container` but not the api fields - renamed `taskResults` to `results`
52557b1
to
86c860d
Compare
The following is the coverage report on the affected files.
|
Thanks @dibyom, squashed and retested. |
/lgtm |
Changes
This commit adds structs and validation for v1 TaskRun, including params,
resultRef and workspaces. This is copied from v1beta1 with the following exceptions:
TaskRunInputs
andTaskRunOutputs
and respective testCloudEventDeliveryState
StepState.ContainerName
toStepState.Container
andSidecarState.ContainerName
toSidecarState.Container
but not the api fieldstaskResults
toresults
Part of #4985
/kind misc
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