-
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-0107: Implement Parameter Propagation #4845
TEP-0107: Implement Parameter Propagation #4845
Conversation
Hi @chitrangpatel. 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. |
3f884da
to
b1e4824
Compare
b1e4824
to
be4850b
Compare
Hmmm...weird that we need an ok-to-test here given @chitrangpatel was added to the org in tektoncd/community#692 @afrittoli do you think our peribolos sync is broken? |
/ok-to-test |
The following is the coverage report on the affected files.
|
/assign @jerop |
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 @chitrangpatel!
please add tests for the changes in this PR - here are the guidelines for tests in tekton pipelines: https://github.com/tektoncd/community/blob/main/standards.md#tests
be4850b
to
14c67fa
Compare
Thanks @jerop! I added examples and unit tests. |
I don't see @chitrangpatel in the org - something went wrong with the CI job probably. We should add a nightly job to peribolos to make sure things stay in sync. |
/retest |
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.
please add documentation as well
just to make sure this is not missed, are you planning to remove the existing implicit parameters in a follow up pr?
The following is the coverage report on the affected files.
|
Yes, will do.
Are you referring to the |
/retest |
14c67fa
to
eb93c5f
Compare
/retest |
Tekton Pipelines resources are verbose mostly because of explicitly propagating Parameters. Implicit Parameters feature was added to reduce the verbosity. However, there are challenges caused by mutating specifications to support Implicit Parameters. This PR builds on this prior work by propagating Parameters without mutating specifications to improve usability of Tekton Pipelines. Removed existing implicit params behind alpha features. Parameter propagation is behind the `alpha` feature gate.
bfa2f34
to
cbea59f
Compare
@jerop test cases with parameter of type array to apply_test.go added. |
The following is the coverage report on the affected files.
|
/test tekton-pipeline-unit-tests |
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 @chitrangpatel!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerop 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/core-maintainers please take a look 🙏🏾 |
/lgtm |
Marking TEP-0107 as implemented, thank you @chitrangpatel! Pull Requests: - tektoncd/pipeline#4906 - tektoncd/pipeline#4845
Marking TEP-0107 as implemented, thank you @chitrangpatel! Pull Requests: - tektoncd/pipeline#4906 - tektoncd/pipeline#4845
Marking TEP-0107 as implemented, thank you @chitrangpatel! Pull Requests: - tektoncd/pipeline#4906 - tektoncd/pipeline#4845
Marking TEP-0107 as implemented, thank you @chitrangpatel! Pull Requests: - tektoncd/pipeline#4906 - tektoncd/pipeline#4845
Propagated `Parameters` was designed and implemented to replace Implicit `Parameters` to remove the mutation of specifications. In this change, we update the alpha features table to remove the Implicit `Parameters` and the broken link to its documentation, and replace them with Propagated `Parameters`. TEPs: - https://github.com/tektoncd/community/blob/main/teps/0107-propagating-parameters.md - https://github.com/tektoncd/community/blob/main/teps/0023-implicit-mapping.md PRs: - tektoncd#4906 - tektoncd#4845
Propagated `Parameters` was designed and implemented to replace Implicit `Parameters` to remove the mutation of specifications. In this change, we update the alpha features table to remove the Implicit `Parameters` and the broken link to its documentation, and replace them with Propagated `Parameters`. TEPs: - https://github.com/tektoncd/community/blob/main/teps/0107-propagating-parameters.md - https://github.com/tektoncd/community/blob/main/teps/0023-implicit-mapping.md PRs: - tektoncd#4906 - tektoncd#4845
Propagated `Parameters` was designed and implemented to replace Implicit `Parameters` to remove the mutation of specifications. In this change, we update the alpha features table to remove the Implicit `Parameters` and the broken link to its documentation, and replace them with Propagated `Parameters`. TEPs: - https://github.com/tektoncd/community/blob/main/teps/0107-propagating-parameters.md - https://github.com/tektoncd/community/blob/main/teps/0023-implicit-mapping.md PRs: - tektoncd#4906 - tektoncd#4845
Propagated `Parameters` was designed and implemented to replace Implicit `Parameters` to remove the mutation of specifications. In this change, we update the alpha features table to remove the Implicit `Parameters` and the broken link to its documentation, and replace them with Propagated `Parameters`. TEPs: - https://github.com/tektoncd/community/blob/main/teps/0107-propagating-parameters.md - https://github.com/tektoncd/community/blob/main/teps/0023-implicit-mapping.md PRs: - #4906 - #4845
Tekton Pipelines resources are verbose mostly because of explicitly propagating Parameters. Implicit Parameters feature was added to reduce the verbosity. However, there are challenges caused by mutating specifications to support Implicit Parameters. This PR builds on this prior work by propagating Parameters without mutating specifications to improve usability of Tekton Pipelines. This addresses features proposed in TEP-0107.
Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes