From 9bc1c2ac88cdfb9c5803734b3a439888bbaa79ba Mon Sep 17 00:00:00 2001 From: Yash Ajgaonkar Date: Tue, 10 Feb 2026 18:34:33 +0530 Subject: [PATCH] Added PipelineRun Configuration for argo-workflows component for rhoai-2.16 --- ...ines-argo-argoexec-v2-16-pull-request.yaml | 69 +++++++++++++++++++ ...workflowcontroller-v2-16-pull-request.yaml | 69 +++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 .tekton/odh-data-science-pipelines-argo-argoexec-v2-16-pull-request.yaml create mode 100644 .tekton/odh-data-science-pipelines-argo-workflowcontroller-v2-16-pull-request.yaml diff --git a/.tekton/odh-data-science-pipelines-argo-argoexec-v2-16-pull-request.yaml b/.tekton/odh-data-science-pipelines-argo-argoexec-v2-16-pull-request.yaml new file mode 100644 index 000000000000..11f51d39c17a --- /dev/null +++ b/.tekton/odh-data-science-pipelines-argo-argoexec-v2-16-pull-request.yaml @@ -0,0 +1,69 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/argo-workflows?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + build.appstudio.redhat.com/pull_request_number: "{{pull_request_number}}" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-comment: "^/build-konflux odh-dsp-argo-argoexec" + pipelinesascode.tekton.dev/on-event: "[pull_request]" + pipelinesascode.tekton.dev/cancel-in-progress: "true" + labels: + appstudio.openshift.io/application: automation + appstudio.openshift.io/component: pull-request-pipelines-odh-dsp-argo-argoexec-v2-16 + pipelines.appstudio.openshift.io/type: build + name: odh-data-science-pipelines-argo-argoexec-v2-16-on-pull-request + namespace: rhoai-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: additional-tags + value: + - '{{target_branch}}-{{revision}}' + - 'pr-{{pull_request_number}}-into-{{target_branch}}' + - name: additional-labels + value: + - version=on-pr-{{revision}} + - io.openshift.tags=odh-data-science-pipelines-argo-argoexec-v2-16 + - name: output-image + value: quay.io/rhoai/pull-request-pipelines:odh-data-science-pipelines-argo-argoexec-v2-16-{{revision}} + - name: dockerfile + value: argo-argoexec/Dockerfile.konflux + - name: path-context + value: . + - name: hermetic + value: "true" + - name: prefetch-input + value: | + [{"type": "gomod"}, {"type": "rpm"}] + - name: build-source-image + value: "true" + - name: build-image-index + value: "false" + - name: enable-slack-failure-notification + value: "false" + - name: image-expires-after + value: 5d + - name: rhoai-version + value: 2.16.0 + pipelineRef: + resolver: git + params: + - name: url + value: https://github.com/red-hat-data-services/konflux-central.git + - name: revision + value: '{{ target_branch }}' + - name: pathInRepo + value: pipelines/container-build.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-pull-request-pipelines + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/odh-data-science-pipelines-argo-workflowcontroller-v2-16-pull-request.yaml b/.tekton/odh-data-science-pipelines-argo-workflowcontroller-v2-16-pull-request.yaml new file mode 100644 index 000000000000..4eafbcbbecb2 --- /dev/null +++ b/.tekton/odh-data-science-pipelines-argo-workflowcontroller-v2-16-pull-request.yaml @@ -0,0 +1,69 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/argo-workflows?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + build.appstudio.redhat.com/pull_request_number: "{{pull_request_number}}" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-comment: "^/build-konflux odh-dsp-argo-workflowcontroller" + pipelinesascode.tekton.dev/on-event: "[pull_request]" + pipelinesascode.tekton.dev/cancel-in-progress: "true" + labels: + appstudio.openshift.io/application: automation + appstudio.openshift.io/component: pull-request-pipelines-odh-dsp-argo-workflowcontroller-v2-16 + pipelines.appstudio.openshift.io/type: build + name: odh-data-science-pipelines-argo-workflowcontroller-v2-16-on-pull-request + namespace: rhoai-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: additional-tags + value: + - '{{target_branch}}-{{revision}}' + - 'pr-{{pull_request_number}}-into-{{target_branch}}' + - name: additional-labels + value: + - version=on-pr-{{revision}} + - io.openshift.tags=odh-data-science-pipelines-argo-workflowcontroller-v2-16 + - name: output-image + value: quay.io/rhoai/pull-request-pipelines:odh-data-science-pipelines-argo-workflowcontroller-v2-16-{{revision}} + - name: dockerfile + value: argo-workflowcontroller/Dockerfile.konflux + - name: path-context + value: . + - name: hermetic + value: "true" + - name: prefetch-input + value: | + [{"type": "gomod"}, {"type": "rpm"}] + - name: build-source-image + value: "true" + - name: build-image-index + value: "false" + - name: enable-slack-failure-notification + value: "false" + - name: image-expires-after + value: 5d + - name: rhoai-version + value: 2.16.0 + pipelineRef: + resolver: git + params: + - name: url + value: https://github.com/red-hat-data-services/konflux-central.git + - name: revision + value: '{{ target_branch }}' + - name: pathInRepo + value: pipelines/container-build.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-pull-request-pipelines + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}