From 535aea48cb0b1e17f0d542145a8a18f80c16cc5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Apr 2026 09:45:43 +0000 Subject: [PATCH] CI: update Tekton pipelines - Pull pipelines use odh-pr tag - Push pipelines use odh-stable tag - Target branch: main --- ...nt-autoscaler-controller-pull-request.yaml | 51 +++++++++++++++++++ ...ad-variant-autoscaler-controller-push.yaml | 46 +++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 .tekton/odh-workload-variant-autoscaler-controller-pull-request.yaml create mode 100644 .tekton/odh-workload-variant-autoscaler-controller-push.yaml diff --git a/.tekton/odh-workload-variant-autoscaler-controller-pull-request.yaml b/.tekton/odh-workload-variant-autoscaler-controller-pull-request.yaml new file mode 100644 index 000000000..f22ea1c4a --- /dev/null +++ b/.tekton/odh-workload-variant-autoscaler-controller-pull-request.yaml @@ -0,0 +1,51 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/workload-variant-autoscaler?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "false" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "main" + creationTimestamp: null + labels: + appstudio.openshift.io/application: opendatahub-builds + appstudio.openshift.io/component: odh-workload-variant-autoscaler-controller-ci + pipelines.appstudio.openshift.io/type: build + name: odh-workload-variant-autoscaler-controller-on-pull-request + namespace: open-data-hub-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/opendatahub/workload-variant-autoscaler:odh-pr + - name: dockerfile + value: Dockerfile + - name: path-context + value: . + - name: additional-tags + value: + - 'odh-pr-{{revision}}' + - name: pipeline-type + value: pull-request + pipelineRef: + resolver: git + params: + - name: url + value: https://github.com/opendatahub-io/odh-konflux-central.git + - name: revision + value: main + - name: pathInRepo + value: pipeline/multi-arch-container-build.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-workload-variant-autoscaler + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} \ No newline at end of file diff --git a/.tekton/odh-workload-variant-autoscaler-controller-push.yaml b/.tekton/odh-workload-variant-autoscaler-controller-push.yaml new file mode 100644 index 000000000..170a251a7 --- /dev/null +++ b/.tekton/odh-workload-variant-autoscaler-controller-push.yaml @@ -0,0 +1,46 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/workload-variant-autoscaler?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "false" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "main" + creationTimestamp: null + labels: + appstudio.openshift.io/application: opendatahub-builds + appstudio.openshift.io/component: odh-workload-variant-autoscaler-controller-ci + pipelines.appstudio.openshift.io/type: build + name: odh-workload-variant-autoscaler-controller-on-push + namespace: open-data-hub-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/opendatahub/workload-variant-autoscaler:odh-stable + - name: dockerfile + value: Dockerfile + - name: path-context + value: . + pipelineRef: + resolver: git + params: + - name: url + value: https://github.com/opendatahub-io/odh-konflux-central.git + - name: revision + value: main + - name: pathInRepo + value: pipeline/multi-arch-container-build.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-workload-variant-autoscaler + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} \ No newline at end of file