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

Remove experimental disable resolution controller flag #4346

Merged
merged 1 commit into from Nov 17, 2021
Merged

Remove experimental disable resolution controller flag #4346

merged 1 commit into from Nov 17, 2021

Conversation

ghost
Copy link

@ghost ghost commented Nov 2, 2021

Changes

In commits 5681ce9 and
5fa4348 we introduced a controller flag to
disable resolution of taskRefs and pipelineRefs. This was intended to support an
experimental controller that could externalize resolution of these refs. Tests
and documentation for this flag were added as well.

The experimental flag ultimately never realized its purpose and the
experimental controller was written to only support PipelineRuns started in
PipelineRunPending state. This commit removes the code, tests and docs
surrounding this flag and its behaviour.

Submitter Checklist

  • Docs included if any changes are user facing
  • 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 or deleted (only if no user facing changes)

Release Notes

An experimental controller flag was added in Pipelines v0.28.0 to disable resolution of taskrefs and pipelinerefs. This flag has now been removed.

/kind misc

@tekton-robot tekton-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/misc Categorizes issue or PR as a miscellaneuous one. labels Nov 2, 2021
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 2, 2021
@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/reconciler/pipelinerun/pipelinerun.go 82.7% 82.6% -0.1
pkg/reconciler/taskrun/taskrun.go 77.1% 76.9% -0.2

@ghost
Copy link
Author

ghost commented Nov 2, 2021

/test pull-tekton-pipeline-alpha-integration-tests

@lbernick
Copy link
Member

lbernick commented Nov 3, 2021

/lgtm

@tekton-robot
Copy link
Collaborator

@lbernick: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@lbernick
Copy link
Member

lbernick commented Nov 3, 2021

still getting used to permissions on this repo 😅 anyway, looks good

@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 17, 2021
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 /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 Nov 17, 2021
In commits 5681ce9 and
5fa4348 we introduced a controller flag to
disable resolution of taskRefs and pipelineRefs. This was inteded to support an
experimental controller that could externalize resolution of these refs. Tests
and documentation for this flag were added as well.

The experimental flag ultimately never realized its purpose and the
experimental controller was written to only support PipelineRuns started in
PipelineRunPending state.
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 17, 2021
@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/reconciler/pipelinerun/pipelinerun.go 82.7% 82.6% -0.1
pkg/reconciler/taskrun/taskrun.go 80.0% 79.8% -0.2

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.

TaskRun "isolated-workspaces-p446k-test-isolation" failed to finish within "1m0s"

/test pull-tekton-pipeline-alpha-integration-tests

@jerop
Copy link
Member

jerop commented Nov 17, 2021

thanks @sbwsg!

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 17, 2021
@ghost
Copy link
Author

ghost commented Nov 17, 2021

test/v1alpha1 TestPipelineTaskTimeout 1m5s

/test pull-tekton-pipeline-alpha-integration-tests

@tekton-robot tekton-robot merged commit 64aff5e into tektoncd:main Nov 17, 2021
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/misc Categorizes issue or PR as a miscellaneuous one. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants