-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[TEP-0056]: Initial set of API refactors pertinent to Pipelines in Pipelines #7055
[TEP-0056]: Initial set of API refactors pertinent to Pipelines in Pipelines #7055
Conversation
Hi @bhujangr. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thank you so much @bhujangr for picking up this work, and welcome to Tekton! 🙏🏾
cc @pritidesai @abayer
/assign
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
The following is the coverage report on the affected files.
|
thanks @bhujangr, please update the release notes section in the PR description. Thanks! |
The following is the coverage report on the affected files.
|
@pritidesai added release notes, not quite sure if it is in the right format and in line with what is expected |
86404ce
to
41d994b
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.
|
e1ef312
to
9f518dc
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.
|
cfg := config.FromContextOrDefaults(ctx) | ||
// if alpha API's are enabled, we | ||
if cfg.FeatureFlags.EnableAPIFields == config.AlphaAPIFields { | ||
errs = errs.Also(apis.ErrMissingOneOf("taskRef", "taskSpec", "pipelineRef", "pipelineSpec")) |
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.
Nit: declaring a constants for "taskRef", "taskSpec", "pipelineRef", and "pipelineSpec" and reusing them everywhere instead of hardcoding the string.
05b1078
to
f722895
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
f722895
to
8173077
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Looks like a flake:
|
8173077
to
e0d7d0c
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/assign |
…pelines This is the first of many commits to begin implementing TEP-0056 - Added PipelineRef and PipelineSpec to PipelineTask - Updated and added pipeline validation tests to reflect the above additions - Updated and added pipeline type tests to reflect the above additions - Added a initial set of docs and examples using the existing proposal - The changes in this PR does not change existing behavior and merely introduces fields to existing types Note: Pipelines in Pipelines is not yet implemented Signed-off-by: Priti Desai <pdesai@us.ibm.com>
e0d7d0c
to
bf2597e
Compare
The following is the coverage report on the affected files.
|
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: jerop, 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 |
Changes
This is the first of many pull requests to begin implementing TEP-0056
PipelineRef
andPipelineSpec
toPipelineTask
The changes in this PR does not change existing behavior and merely introduces fields to existing types
Note: Pipelines in Pipelines is not yet implemented
Co-authored-by: pritidesai pdesai@us.ibm.com
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes