diff --git a/.tekton/tektoncd-git-clone-1-21-git-init-pull-request.yaml b/.tekton/tektoncd-git-clone-1-21-git-init-pull-request.yaml new file mode 100644 index 00000000..6560fdc7 --- /dev/null +++ b/.tekton/tektoncd-git-clone-1-21-git-init-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/tektoncd-git-clone.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-v1.21.x" && + ("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || + ".konflux/dockerfiles/git-init.Dockerfile".pathChanged() || + ".tekton/tektoncd-git-clone-1-21-git-init-pull-request.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: tektoncd-git-clone-1-21-git-init + pipelines.appstudio.openshift.io/type: build + name: tektoncd-git-clone-1-21-git-init-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/git-init-rhel9:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: dockerfile + value: .konflux/dockerfiles/git-init.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-tektoncd-git-clone-1-21-git-init + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} diff --git a/.tekton/tektoncd-git-clone-1-21-git-init-push.yaml b/.tekton/tektoncd-git-clone-1-21-git-init-push.yaml new file mode 100644 index 00000000..142c8c8b --- /dev/null +++ b/.tekton/tektoncd-git-clone-1-21-git-init-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/tektoncd-git-clone.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-v1.21.x" && + ("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || + ".konflux/dockerfiles/git-init.Dockerfile".pathChanged() || + ".tekton/tektoncd-git-clone-1-21-git-init-push.yaml".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: openshift-pipelines-core-1-21 + appstudio.openshift.io/component: tektoncd-git-clone-1-21-git-init + pipelines.appstudio.openshift.io/type: build + name: tektoncd-git-clone-1-21-git-init-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/git-init-rhel9:{{revision}} + - name: dockerfile + value: .konflux/dockerfiles/git-init.Dockerfile + - name: prefetch-input + value: | + {"type": "rpm", "path": ".konflux/rpms"} + pipelineRef: + name: docker-build-ta + taskRunTemplate: + serviceAccountName: build-pipeline-tektoncd-git-clone-1-21-git-init + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}