Skip to content

tekton: automate releases with Pipelines-as-Code#1656

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
ab-ghosh:automate-release
May 21, 2026
Merged

tekton: automate releases with Pipelines-as-Code#1656
tekton-robot merged 1 commit into
tektoncd:mainfrom
ab-ghosh:automate-release

Conversation

@ab-ghosh
Copy link
Copy Markdown
Member

@ab-ghosh ab-ghosh commented May 8, 2026

Changes

Automate releases using Pipelines-as-Code instead of manual tkn pipeline start commands.

What's included

  • .tekton/release.yaml — Initial release PipelineRun, triggered automatically when a release-v* branch is created. Version derived from branch name via CEL (release-v0.27.xv0.27.0).
  • .tekton/release-patch.yaml — Patch release PipelineRun, triggered via PAC incoming webhook. Version and releaseAsLatest passed dynamically.
  • .github/workflows/patch-release.yaml — GitHub Actions workflow with two modes:
    • workflow_dispatch: manual trigger with branch/version inputs
    • schedule: weekly cron (Thursday 10:00 UTC) scanning for unreleased commits on release branches ≥ v0.20
  • Updated release/README.md — reflects the new automated workflow, with manual tkn command preserved as a fallback section.

Dependencies

  • PAC deployed to oci-ci-cd cluster (tektoncd/plumbing#3256)
  • PAC Repository CR for tektoncd/chains (tektoncd/plumbing#3358)
  • Release secrets provisioned in releases-chains namespace (tektoncd/infra)
  • GitHub App tekton-as-code installed on this repo
  • PAC_INCOMING_SECRET GitHub Actions secret configured

See tektoncd/plumbing#58 for the
full automated release plan.

/kind feature

Submitter Checklist

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

  • Has Docs included if any changes are user facing
  • Has 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 updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Jira: SRVKP-11937

@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 8, 2026
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
Comment thread .github/workflows/patch-release.yaml Fixed
@ab-ghosh ab-ghosh force-pushed the automate-release branch from 377b6b3 to 1efa99f Compare May 18, 2026 08:05
@anithapriyanatarajan
Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 18, 2026
@anithapriyanatarajan
Copy link
Copy Markdown
Contributor

/kind misc

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label May 18, 2026
Signed-off-by: ab-ghosh <abghosh@redhat.com>
@ab-ghosh ab-ghosh force-pushed the automate-release branch from 1efa99f to 7c3db7f Compare May 18, 2026 15:33
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label May 18, 2026
Copy link
Copy Markdown
Member

@infernus01 infernus01 left a comment

Choose a reason for hiding this comment

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

LGTM

@anithapriyanatarajan
Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2026
@anithapriyanatarajan
Copy link
Copy Markdown
Contributor

/release-note-none

@anithapriyanatarajan
Copy link
Copy Markdown
Contributor

/approve

@tekton-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anithapriyanatarajan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [anithapriyanatarajan]

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 21, 2026
@tekton-robot tekton-robot merged commit 4bb6198 into tektoncd:main May 21, 2026
27 of 29 checks passed
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants