Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-11607

Create GitLab CI pipeline to apply release configs

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • AIPCC Productization
    • None

      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

              Unassigned Unassigned
              rhit_jmorenas Jose Angel Morena
              Klara's Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: