Skip to content
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: Deprecated implicit parameters #4906

Merged

Conversation

chitrangpatel
Copy link
Contributor

@chitrangpatel chitrangpatel commented May 24, 2022

Changes

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 deprecates existing implementation of implicit parameters. A followup PR will address improvements to this and allow propagating parameters that the task requires. This PR addresses part of TEP-0107 that includes removing existing implicit parameters.

/kind feature

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • [n/a] Docs included if any changes are user facing
  • [n/a] Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been filled in
    (if there are no user facing changes, use release note "NONE")

Release Notes

Implicit Parameters is deprecated and removed. A replacement feature will be included in the same release.

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 deprecates existing implementation of implicit parameters. A followup PR will address improvements to this and allow propagating paramaters that the task requires.
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label May 24, 2022
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label May 24, 2022
@chitrangpatel
Copy link
Contributor Author

/assign @jerop

@jerop jerop added this to the Pipelines v0.36 milestone May 24, 2022
@chitrangpatel
Copy link
Contributor Author

/retest

@jerop
Copy link
Member

jerop commented May 24, 2022

For reviewers, the feature replacing this feature is implemented in #4845 (both PRs are in the same milestone) as proposed in TEP-0107: Propagating Parameters.

Copy link
Member

@jerop jerop left a 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 references to TEP-0107 and the implementation PR of the replacement feature to the commit message and this PR description so that the full context is available

@tekton-robot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 24, 2022
@jerop
Copy link
Member

jerop commented May 24, 2022

/test pull-tekton-pipeline-go-coverage

1 similar comment
@jerop
Copy link
Member

jerop commented May 24, 2022

/test pull-tekton-pipeline-go-coverage

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label May 24, 2022
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/pipeline/v1beta1/pipelinerun_defaults.go 93.3% 92.3% -1.0
pkg/apis/pipeline/v1beta1/task_defaults.go 85.7% 80.0% -5.7

@chitrangpatel
Copy link
Contributor Author

thank you @chitrangpatel!

please add references to TEP-0107 and the implementation PR of the replacement feature to the commit message and this PR description so that the full context is available

Done :)

@lbernick
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 25, 2022
@tekton-robot tekton-robot merged commit e24df83 into tektoncd:main May 25, 2022
@jerop jerop changed the title Deprecated implicit parameters TEP-0107: Deprecated implicit parameters May 26, 2022
jerop added a commit to jerop/community that referenced this pull request May 26, 2022
Marking TEP-0107 as implemented, thank you @chitrangpatel!

Pull Requests:
- tektoncd/pipeline#4906
- tektoncd/pipeline#4845
jerop added a commit to jerop/community that referenced this pull request May 26, 2022
Marking TEP-0107 as implemented, thank you @chitrangpatel!

Pull Requests:
- tektoncd/pipeline#4906
- tektoncd/pipeline#4845
jerop added a commit to jerop/community that referenced this pull request May 26, 2022
tekton-robot pushed a commit to tektoncd/community that referenced this pull request May 26, 2022
jerop added a commit to jerop/pipeline that referenced this pull request Jun 16, 2022
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
jerop added a commit to jerop/pipeline that referenced this pull request Jun 17, 2022
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
jerop added a commit to jerop/pipeline that referenced this pull request Jun 17, 2022
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
tekton-robot pushed a commit that referenced this pull request Jun 17, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants