diff --git a/.tekton/tektoncd-git-clone-main-git-init-pull-request.yaml b/.tekton/tektoncd-git-clone-main-git-init-pull-request.yaml deleted file mode 100644 index f23d23cf..00000000 --- a/.tekton/tektoncd-git-clone-main-git-init-pull-request.yaml +++ /dev/null @@ -1,50 +0,0 @@ -# Generated for Konflux Application openshift-pipelines-core 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-konflux/tektoncd-operator/refs/heads/main/.tekton/docker-build-ta.yaml" - build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines-konflux/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 - == "main" && - ("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || - ".konflux/dockerfiles/git-init.Dockerfile".pathChanged() || - ".tekton/tektoncd-git-clone-main-git-init-pull-request.yaml".pathChanged()) - labels: - appstudio.openshift.io/application: openshift-pipelines-core-main - appstudio.openshift.io/component: tektoncd-git-clone-main-git-init - pipelines.appstudio.openshift.io/type: build - name: tektoncd-git-clone-main-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/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-main-git-init - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/tektoncd-git-clone-main-git-init-push.yaml b/.tekton/tektoncd-git-clone-main-git-init-push.yaml deleted file mode 100644 index 964bab06..00000000 --- a/.tekton/tektoncd-git-clone-main-git-init-push.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# Generated for Konflux Application openshift-pipelines-core 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-konflux/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 - == "main" && - ("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || - ".konflux/dockerfiles/git-init.Dockerfile".pathChanged() || - ".tekton/tektoncd-git-clone-main-git-init-push.yaml".pathChanged()) - creationTimestamp: null - labels: - appstudio.openshift.io/application: openshift-pipelines-core-main - appstudio.openshift.io/component: tektoncd-git-clone-main-git-init - pipelines.appstudio.openshift.io/type: build - name: tektoncd-git-clone-main-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/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-main-git-init - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {}