-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
Needed:
- Trigger on merge to main when files matching */releases//.y{a,}ml are added or modified
- Validate on MR (dry-run)
- On merge: kubectl apply each changed release file
- After apply, poll the Release CR status to get the Tekton PipelineRun name, then print the PipelineRun link
- Requires: semi-linear merge strategy enabled on the repo. (ensures a merge commit exists per MR so the pipeline can reliably detect changed files)
Acceptance criteria:
- Merging an MR with a release YAML applies it to Konflux and the pipeline logs contain the PipelineRun URL
Example of gitlab-ci (it is not complete, just use it as inspiration): https://gitlab.com/-/snippets/5965681