diff --git a/.tekton/glo-grafana-globalhub-1-6-pull-request.yaml b/.tekton/glo-grafana-globalhub-1-6-pull-request.yaml new file mode 100644 index 0000000000000..60ad2d57c298a --- /dev/null +++ b/.tekton/glo-grafana-globalhub-1-6-pull-request.yaml @@ -0,0 +1,61 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/stolostron/glo-grafana?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-1.6" + creationTimestamp: null + labels: + appstudio.openshift.io/application: release-globalhub-1-6 + appstudio.openshift.io/component: glo-grafana-globalhub-1-6 + pipelines.appstudio.openshift.io/type: build + name: glo-grafana-globalhub-1-6-on-pull-request + namespace: acm-multicluster-glo-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/glo-grafana-globalhub-1-6:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: build-platforms + value: + - linux/x86_64 + - linux/ppc64le + - linux/s390x + - linux/arm64 + - name: dockerfile + value: Containerfile.konflux + - name: path-context + value: . + - name: build-source-image + value: "true" + - name: hermetic + value: "true" + - name: prefetch-input + value: '[ {"type": "gomod", "path": "."} ]' + 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-glo-grafana-globalhub-1-6 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/glo-grafana-globalhub-1-6-push.yaml b/.tekton/glo-grafana-globalhub-1-6-push.yaml new file mode 100644 index 0000000000000..a67396210f806 --- /dev/null +++ b/.tekton/glo-grafana-globalhub-1-6-push.yaml @@ -0,0 +1,58 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/stolostron/glo-grafana?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-1.6" + creationTimestamp: null + labels: + appstudio.openshift.io/application: release-globalhub-1-6 + appstudio.openshift.io/component: glo-grafana-globalhub-1-6 + pipelines.appstudio.openshift.io/type: build + name: glo-grafana-globalhub-1-6-on-push + namespace: acm-multicluster-glo-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/glo-grafana-globalhub-1-6:{{revision}} + - name: build-platforms + value: + - linux/x86_64 + - linux/ppc64le + - linux/s390x + - linux/arm64 + - name: dockerfile + value: Containerfile.konflux + - name: path-context + value: . + - name: build-source-image + value: "true" + - name: hermetic + value: "true" + - name: prefetch-input + value: '[ {"type": "gomod", "path": "."} ]' + 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-glo-grafana-globalhub-1-6 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}