From fcbc72721e61eafafd7d420a4e9b56c64b0d766c Mon Sep 17 00:00:00 2001 From: OpenShift CI Robot Date: Thu, 23 Apr 2026 12:10:56 +0000 Subject: [PATCH] Add Tekton files for versions: 5.1 Signed-off-by: OpenShift CI Robot --- .tekton/prometheus-acm-51-pull-request.yaml | 58 +++++++++++++++++++++ .tekton/prometheus-acm-51-push.yaml | 58 +++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 .tekton/prometheus-acm-51-pull-request.yaml create mode 100644 .tekton/prometheus-acm-51-push.yaml diff --git a/.tekton/prometheus-acm-51-pull-request.yaml b/.tekton/prometheus-acm-51-pull-request.yaml new file mode 100644 index 00000000000..5f0c4ee8563 --- /dev/null +++ b/.tekton/prometheus-acm-51-pull-request.yaml @@ -0,0 +1,58 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/stolostron/prometheus?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "true" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-5.1" + creationTimestamp: null + labels: + appstudio.openshift.io/application: release-acm-51 + appstudio.openshift.io/component: prometheus-acm-51 + pipelines.appstudio.openshift.io/type: build + name: prometheus-acm-51-on-pull-request + namespace: crt-redhat-acm-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/crt-redhat-acm-tenant/prometheus-acm-51:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: build-platforms + value: + - linux/x86_64 + - name: dockerfile + value: Containerfile.operator + - name: path-context + value: . + - name: hermetic + value: true + - name: prefetch-input + value: '[{"path": ".", "type": "gomod"}, {"path": "promu/", "type": "gomod"}]' + - name: build-source-image + value: "true" + pipelineRef: + resolver: git + params: + - name: url + value: "https://github.com/stolostron/konflux-build-catalog.git" + - name: revision + value: main + - name: pathInRepo + value: pipelines/common.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-prometheus-acm-51 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/prometheus-acm-51-push.yaml b/.tekton/prometheus-acm-51-push.yaml new file mode 100644 index 00000000000..20a750c8ea6 --- /dev/null +++ b/.tekton/prometheus-acm-51-push.yaml @@ -0,0 +1,58 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/stolostron/prometheus?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 + == "release-5.1" + creationTimestamp: null + labels: + appstudio.openshift.io/application: release-acm-51 + appstudio.openshift.io/component: prometheus-acm-51 + pipelines.appstudio.openshift.io/type: build + name: prometheus-acm-51-on-push + namespace: crt-redhat-acm-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/crt-redhat-acm-tenant/prometheus-acm-51:{{revision}} + - name: build-platforms + value: + - linux/x86_64 + - linux/ppc64le + - linux/s390x + - linux/arm64 + - name: dockerfile + value: Containerfile.operator + - name: path-context + value: . + - name: hermetic + value: true + - name: prefetch-input + value: '[{"path": ".", "type": "gomod"}, {"path": "promu/", "type": "gomod"}]' + - name: build-source-image + value: "true" + pipelineRef: + resolver: git + params: + - name: url + value: "https://github.com/stolostron/konflux-build-catalog.git" + - name: revision + value: main + - name: pathInRepo + value: pipelines/common.yaml + taskRunTemplate: + serviceAccountName: build-pipeline-prometheus-acm-51 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}