-
Notifications
You must be signed in to change notification settings - Fork 265
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 PipelineResources #2666
Remove PipelineResources #2666
Conversation
Skipping CI for Draft Pull Request. |
5d8a5b1
to
1186b13
Compare
/hold |
Remove support for PipelineResources from the Dashboard. They have been deprecated since Tekton Pipelines v0.30.0 in November 2021. This also involves updating the Import Resources functionality to use a Task instead of PipelineResources (git). The Task uses the git-init image also used by the git-clone Task in the catalog.
1186b13
to
3f96e50
Compare
/hold cancel |
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
Looks good from scanning through 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson 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 |
Will there be a similar feature replacement? i need this feature to manage resource and create taskrun |
Hi @lj19950508, there are a number of options depending on your specific needs. If you're using a Tekton Pipelines release which still supports PipelineResources you can use an older Tekton Dashboard release which still provides this functionality. Tekton Dashboard v0.30 LTS is the only supported version which still displays PipelineResources, and has been tested with Tekton Pipelines v0.38.x - v0.41.x. It will be end-of-life in October this year. If you're using a recent Tekton Pipelines release which has removed support for PipelineResources there are different options depending on which PipelineResource types you were using. Most of the PipelineResource types have one or more Tasks in the Tekton Catalog that can be used as replacements. See the docs for some examples and additional guidance: https://tekton.dev/docs/pipelines/pipelineresources/ If you run into any problems feel free to join the Tekton Slack workspace (for example the #dashboard or #pipeline channels) or open a discussion on GitHub. If your questions are related to the Tekton Pipelines API and features they're probably better suited to the tektoncd/pipeline repo, or if they're related to the Dashboard's features you can use this repo. |
i need form-based Create PipelineRun and Create TaskRun pages |
If you need form-based Create pages with support for PipelineResources you'll need to use Dashboard v0.30 as that's the only remaining version that still supports PipelineResources. To be clear, this functionality was removed from the Dashboard because it was also being removed from Tekton Pipelines. Recent versions of Tekton Pipelines no longer support PipelineResources. The Dashboard still provides a form-based Create experience but it only supports basic inputs such as string params. For more advanced use (workspaces etc.) there's a button to switch to YAML mode where you can enter any valid PipelineRun / TaskRun YAML supported by your environment. |
Changes
Remove support for PipelineResources from the Dashboard. They have been deprecated
since Tekton Pipelines v0.30.0 in November 2021.
This also involves updating the Import Resources functionality to use a Task
instead of PipelineResources (git). The Task uses the git-init image also used
by the git-clone Task in the catalog.
/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