-
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
TEP-096 - Rename 'resources' to 'computeResources' in v1 taskRun #5493
Conversation
/kind misc |
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.
Can you please also rename step overrides and sidecar overrides?
032acff
to
ce65c54
Compare
71668a1
to
4c8985f
Compare
/retest |
stepOverrides and sidecarOverrides should be renamed to stepSpecs and sidecarSpecs, as detailed in tektoncd/community#798 |
Thanks @JeromeJu - could you please add release notes? |
73bc58c
to
a220782
Compare
a220782
to
b85c861
Compare
b85c861
to
d8d70e9
Compare
15d5078
to
5a3b8ef
Compare
5a3b8ef
to
2632053
Compare
ab448c6
to
2359522
Compare
2359522
to
23d1006
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lbernick, vdemeester 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 |
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.
@JeromeJu seems that the documentation needs to be updated 🤔
This commit renames the `taskRunStepOverride` and `taskRunSidecarOverride` Golang structs to `taskRunStepSpec` and `taskRunSidecarSpec`, renames `taskrun.spec.stepOverrides` and `taskrun.spec.sidecarOverrides` to `taskrun.spec.stepSpecs` and `taskrun.spec.sidecarSpecs`, `pipelineRun.spec.taskRunSpecs.sidecarOverrides` to `pipelineRun.spec.taskRunSpecs.sidecarSpecs`, `pipelineRun.spec.taskRunSpecs.stepOverrides` to `pipelineRun.spec.taskRunSpecs.stepSpecs` and the fields related to compute resources in v1 to a standardized term computeResources. This includes: - task.spec.steps[].resources - task.spec.stepTemplate.resources - task.spec.sidecars[].resources - taskRun.spec.stepSpecs[].resources - taskrun.spec.sidecarSpecs[].resources No functional changes.
b0f8deb
to
ba35408
Compare
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
Changes
This commit renames
taskRunStepOverride
andtaskRunSidecarOverride
Golang structs totaskRunStepSpec
andtaskRunSidecarSpec
, renamestaskrun.spec.stepOverrides
andtaskrun.spec.sidecarOverrides
totaskrun.spec.stepSpecs
andtaskrun.spec.sidecarSpecs
and the fields related to compute resources in v1 to a standardized term computeResources.
This includes:
task.spec.steps[].resources
task.spec.stepTemplate.resources
task.spec.sidecars[].resources
taskRun.spec.stepOverrides[].resources
taskrun.spec.sidecarOverrides[].resources
taskRunStepOverride
taskRunSidecarOverride
No functional changes.
Implements: TEP-096
/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