tekton: automate releases with Pipelines-as-Code#1656
Merged
Conversation
377b6b3 to
1efa99f
Compare
Contributor
|
/lgtm |
Contributor
|
/kind misc |
Signed-off-by: ab-ghosh <abghosh@redhat.com>
1efa99f to
7c3db7f
Compare
Contributor
|
/lgtm |
Contributor
|
/release-note-none |
Contributor
|
/approve |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Automate releases using Pipelines-as-Code instead of manual
tkn pipeline startcommands.What's included
.tekton/release.yaml— Initial release PipelineRun, triggered automatically when arelease-v*branch is created. Version derived from branch name via CEL (release-v0.27.x→v0.27.0)..tekton/release-patch.yaml— Patch release PipelineRun, triggered via PAC incoming webhook. Version andreleaseAsLatestpassed dynamically..github/workflows/patch-release.yaml— GitHub Actions workflow with two modes:workflow_dispatch: manual trigger with branch/version inputsschedule: weekly cron (Thursday 10:00 UTC) scanning for unreleased commits on release branches ≥ v0.20release/README.md— reflects the new automated workflow, with manualtkncommand preserved as a fallback section.Dependencies
releases-chainsnamespace (tektoncd/infra)tekton-as-codeinstalled on this repoPAC_INCOMING_SECRETGitHub Actions secret configuredSee 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:
functionality, content, code)
Release Notes
Jira: SRVKP-11937