-
Notifications
You must be signed in to change notification settings - Fork 426
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
Allow creating v1alpha1 Run types #1283
Conversation
This seems like an unintentional omission since we do allow creating TriggerTemplates with the Run kind. Addressing tektoncd#494 should have caught this earlier.
/test pull-tekton-triggers-integration-tests |
Dogfooding Pipeline to Taskrun is part of our strategy for creating a successor to PipelineResources. This commit rewrites the mario image builder trigger template to use a PipelineRun containing a PipelineToTaskRun, plus a finally Task, and rewrites the mario github trigger template to use a Run of kind PipelineToTaskRun. PipelineToTaskRun does not support workspace mountPaths or finally Tasks, so this commit rewrites existing pipelines to avoid using those features in a PipelineToTaskRun. In addition, PipelineToTaskRun does not support OCI bundles, so the pull-request and git-clone tasks were installed in the mario namespace of the dogfooding cluster. This commit requires updating Triggers in the dogfooding cluster to pull in [PR: support Runs in TriggerTemplates](tektoncd/triggers#1283).
/test pull-tekton-triggers-integration-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.
👍
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: savitaashture 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 |
Dogfooding Pipeline to Taskrun is part of our strategy for creating a successor to PipelineResources. This commit rewrites the mario image builder trigger template to use a PipelineRun containing a PipelineToTaskRun, plus a finally Task, and rewrites the mario github trigger template to use a Run of kind PipelineToTaskRun. PipelineToTaskRun does not support workspace mountPaths or finally Tasks, so this commit rewrites existing pipelines to avoid using those features in a PipelineToTaskRun. In addition, PipelineToTaskRun does not support OCI bundles, so the pull-request and git-clone tasks were installed in the mario namespace of the dogfooding cluster. This commit requires updating Triggers in the dogfooding cluster to pull in [PR: support Runs in TriggerTemplates](tektoncd/triggers#1283).
Changes
This seems like an unintentional omission since we do allow creating
TriggerTemplates with the Run kind.
Addressing #494 should have caught this earlier.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes