ci(github): add workflow to tag downstream repos post-release - #839
Open
divyansh42 wants to merge 1 commit into
Open
divyansh42 wants to merge 1 commit into
divyansh42 wants to merge 1 commit into
Conversation
Add a manually triggered workflow that creates version tags on all downstream repos after a minor/patch release. Enables backtracking changes deployed to customer environments and identifying revert points when issues arise. Features: - Auto-derives tag from release config or accepts manual override - Configurable branch and repo filtering (comma-separated) - Dry-run mode for safe validation - Outputs summary table in GitHub Step Summary Signed-off-by: divyansh42 <diagrawa@redhat.com> Assisted-by: Claude Opus 4 (via Cursor)
pramodbindal
reviewed
Jul 2, 2026
| fi | ||
|
|
||
| # Get the SHA of the branch HEAD | ||
| SHA=$(gh api "repos/$FULL_REPO/git/ref/heads/$BRANCH" --jq '.object.sha' 2>/dev/null) |
Member
There was a problem hiding this comment.
should be reading the commit sha from released snapshot not from the head of the repo.
Collaborator
Author
There was a problem hiding this comment.
So in that case, we will need to provide the released snapshot and we should have the logic to find the commit sha of the individual components?
Member
There was a problem hiding this comment.
Agree with Pramod's point, user should be able to derive that using the snapshot. I have a script for doing this if you need to reference or plan how to integrate it.
Snapshot: openshift-pipelines-core-1-22-20260630-164711-000-pi
Created: 2026-06-30 22:26 IST
Repo Revision Components
--------------------------------------------------------------------------------
openshift-pipelines/operator a8570514dd8f 3
openshift-pipelines/p12n-console-plugin 11c1ea728bb0 1
openshift-pipelines/p12n-console-plugin-pf5 5f871b8eb87f 1
openshift-pipelines/p12n-manual-approval-gate f25d0d7642f0 2
openshift-pipelines/p12n-multicluster-proxy-aae 86475aae6abe 1
openshift-pipelines/p12n-opc 75c5770be7ad 1
openshift-pipelines/p12n-syncer-service b029f0528ca8 1
openshift-pipelines/p12n-tekton-caches 35d13ca95e59 1
openshift-pipelines/pac-downstream bd2efb6bac78 4
openshift-pipelines/serve-tkn-cl a510d8905687 1
openshift-pipelines/tekton-kueue 9e2bc49b0eb2 1
openshift-pipelines/tektoncd-chains 5ce5347c8544 1
openshift-pipelines/tektoncd-cl 3f9d353d6e2b 1
openshift-pipelines/tektoncd-git-clone f4ea3d89f9db 1
openshift-pipelines/tektoncd-hub 410f9709ee1d 2
openshift-pipelines/tektoncd-hub ff21b02885dc 1
openshift-pipelines/tektoncd-pipeline 1774b2fdc8f3 8
openshift-pipelines/tektoncd-pruner 68bfea16b601 2
openshift-pipelines/tektoncd-results 23029ec34482 3
openshift-pipelines/tektoncd-triggers 8abaa965abcc 4
Member
There was a problem hiding this comment.
Lets not invest more on github workflows. we should go by the plan
that way we can reuse the things we develop
Collaborator
Author
|
/hold |
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.
Add a manually triggered workflow that creates version tags on all downstream repos after a minor/patch release. Enables backtracking changes deployed to customer environments and identifying revert points when issues arise.
Features:
Assisted-by: Claude Opus 4 (via Cursor)