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

Allow creating v1alpha1 Run types #1283

Merged
merged 1 commit into from
Dec 14, 2021
Merged

Allow creating v1alpha1 Run types #1283

merged 1 commit into from
Dec 14, 2021

Conversation

dibyom
Copy link
Member

@dibyom dibyom commented Dec 8, 2021

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:

  • Includes tests (if functionality changed/added)
  • Includes docs (if user facing)
  • Commit messages follow commit message best practices
  • Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.

Release Notes

This seems like an unintentional omission since we do allow creating
TriggerTemplates with the Run kind.

Addressing tektoncd#494 should have caught this earlier.
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Dec 8, 2021
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 8, 2021
@dibyom
Copy link
Member Author

dibyom commented Dec 8, 2021

/test pull-tekton-triggers-integration-tests

lbernick added a commit to lbernick/plumbing that referenced this pull request Dec 9, 2021
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).
@dibyom
Copy link
Member Author

dibyom commented Dec 9, 2021

/test pull-tekton-triggers-integration-tests

Copy link
Contributor

@savitaashture savitaashture left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 14, 2021
@tekton-robot
Copy link

[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 /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 Dec 14, 2021
@tekton-robot tekton-robot merged commit 0ec6afc into tektoncd:main Dec 14, 2021
@dibyom dibyom deleted the runs branch December 14, 2021 16:10
tekton-robot pushed a commit to tektoncd/plumbing that referenced this pull request Jan 12, 2022
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).
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. 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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants