From 82858df5086a4e95252b5082a921a251ea0c1299 Mon Sep 17 00:00:00 2001 From: openshift-pipelines-bot Date: Sat, 9 Aug 2025 18:01:30 +0000 Subject: [PATCH] [bot:release-v0.5.0] update konflux configuration --- ...val-gate-1-21-controller-pull-request.yaml | 51 +++++++++++++++++++ ...al-approval-gate-1-21-controller-push.yaml | 45 ++++++++++++++++ ...proval-gate-1-21-webhook-pull-request.yaml | 51 +++++++++++++++++++ ...anual-approval-gate-1-21-webhook-push.yaml | 45 ++++++++++++++++ 4 files changed, 192 insertions(+) create mode 100644 .tekton/manual-approval-gate-1-21-controller-pull-request.yaml create mode 100644 .tekton/manual-approval-gate-1-21-controller-push.yaml create mode 100644 .tekton/manual-approval-gate-1-21-webhook-pull-request.yaml create mode 100644 .tekton/manual-approval-gate-1-21-webhook-push.yaml diff --git a/.tekton/manual-approval-gate-1-21-controller-pull-request.yaml b/.tekton/manual-approval-gate-1-21-controller-pull-request.yaml new file mode 100644 index 000000000..1a0348ef1 --- /dev/null +++ b/.tekton/manual-approval-gate-1-21-controller-pull-request.yaml @@ -0,0 +1,51 @@ +# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines + pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml" + build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/manual-approval-gate.git?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/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-v0.5.0" && + ("***".pathChanged() || + ".konflux/dockerfiles/controller.Dockerfile".pathChanged() || + ".tekton/manual-approval-gate-1-21-controller-pull-request.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: manual-approval-gate-1-21-controller + pipelines.appstudio.openshift.io/type: build + name: manual-approval-gate-1-21-controller-on-pull-request + namespace: tekton-ecosystem-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/manual-approval-gate-controller-rhel9:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: dockerfile + value: .konflux/dockerfiles/controller.Dockerfile + - name: build-platforms + value: + - linux/x86_64 + - name: prefetch-input + value: | + {"type": "rpm", "path": ".konflux/rpms"} + pipelineRef: + name: docker-build-ta + taskRunTemplate: + serviceAccountName: build-pipeline-manual-approval-gate-1-21-controller + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/manual-approval-gate-1-21-controller-push.yaml b/.tekton/manual-approval-gate-1-21-controller-push.yaml new file mode 100644 index 000000000..e76d26355 --- /dev/null +++ b/.tekton/manual-approval-gate-1-21-controller-push.yaml @@ -0,0 +1,45 @@ +# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines + pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml" + build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/manual-approval-gate.git?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "release-v0.5.0" && + ("***".pathChanged() || + ".konflux/dockerfiles/controller.Dockerfile".pathChanged() || + ".tekton/manual-approval-gate-1-21-controller-push.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: manual-approval-gate-1-21-controller + pipelines.appstudio.openshift.io/type: build + name: manual-approval-gate-1-21-controller-on-push + namespace: tekton-ecosystem-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/manual-approval-gate-controller-rhel9:{{revision}} + - name: dockerfile + value: .konflux/dockerfiles/controller.Dockerfile + - name: prefetch-input + value: | + {"type": "rpm", "path": ".konflux/rpms"} + pipelineRef: + name: docker-build-ta + taskRunTemplate: + serviceAccountName: build-pipeline-manual-approval-gate-1-21-controller + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/manual-approval-gate-1-21-webhook-pull-request.yaml b/.tekton/manual-approval-gate-1-21-webhook-pull-request.yaml new file mode 100644 index 000000000..3edaaee8e --- /dev/null +++ b/.tekton/manual-approval-gate-1-21-webhook-pull-request.yaml @@ -0,0 +1,51 @@ +# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines + pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml" + build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/manual-approval-gate.git?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/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-v0.5.0" && + ("***".pathChanged() || + ".konflux/dockerfiles/webhook.Dockerfile".pathChanged() || + ".tekton/manual-approval-gate-1-21-webhook-pull-request.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: manual-approval-gate-1-21-webhook + pipelines.appstudio.openshift.io/type: build + name: manual-approval-gate-1-21-webhook-on-pull-request + namespace: tekton-ecosystem-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/manual-approval-gate-webhook-rhel9:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: dockerfile + value: .konflux/dockerfiles/webhook.Dockerfile + - name: build-platforms + value: + - linux/x86_64 + - name: prefetch-input + value: | + {"type": "rpm", "path": ".konflux/rpms"} + pipelineRef: + name: docker-build-ta + taskRunTemplate: + serviceAccountName: build-pipeline-manual-approval-gate-1-21-webhook + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/manual-approval-gate-1-21-webhook-push.yaml b/.tekton/manual-approval-gate-1-21-webhook-push.yaml new file mode 100644 index 000000000..6e2037d0d --- /dev/null +++ b/.tekton/manual-approval-gate-1-21-webhook-push.yaml @@ -0,0 +1,45 @@ +# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines + pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml" + build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/manual-approval-gate.git?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "release-v0.5.0" && + ("***".pathChanged() || + ".konflux/dockerfiles/webhook.Dockerfile".pathChanged() || + ".tekton/manual-approval-gate-1-21-webhook-push.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: manual-approval-gate-1-21-webhook + pipelines.appstudio.openshift.io/type: build + name: manual-approval-gate-1-21-webhook-on-push + namespace: tekton-ecosystem-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/manual-approval-gate-webhook-rhel9:{{revision}} + - name: dockerfile + value: .konflux/dockerfiles/webhook.Dockerfile + - name: prefetch-input + value: | + {"type": "rpm", "path": ".konflux/rpms"} + pipelineRef: + name: docker-build-ta + taskRunTemplate: + serviceAccountName: build-pipeline-manual-approval-gate-1-21-webhook + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}