From 00c08d2bb4a82075477d708d07cb261f7951eb38 Mon Sep 17 00:00:00 2001 From: Pramod Bindal Date: Fri, 10 Jan 2025 16:43:37 +0530 Subject: [PATCH] As There is no upstream this repo should build on every change. Signed-off-by: Pramod Bindal --- ...tekton-caches-next-cache-pull-request.yaml | 43 ------------------- .tekton/tekton-caches-next-cache-push.yaml | 41 ------------------ 2 files changed, 84 deletions(-) delete mode 100644 .tekton/tekton-caches-next-cache-pull-request.yaml delete mode 100644 .tekton/tekton-caches-next-cache-push.yaml diff --git a/.tekton/tekton-caches-next-cache-pull-request.yaml b/.tekton/tekton-caches-next-cache-pull-request.yaml deleted file mode 100644 index 990f3ed72..000000000 --- a/.tekton/tekton-caches-next-cache-pull-request.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# Generated by openshift-pipelines/hack. DO NOT EDIT. -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tekton-caches?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" - creationTimestamp: null - labels: - appstudio.openshift.io/application: tekton-caches-next - appstudio.openshift.io/component: tekton-caches-next-cache - pipelines.appstudio.openshift.io/type: build - name: tekton-caches-next-cache-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/tekton-caches-next/cache:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: dockerfile - value: .konflux/dockerfiles/cache.Dockerfile - - name: build-platforms - value: - - linux/x86_64 - - name: prefetch-input - value: | - {"type": "rpm", "path": ".konflux/rpms"} - pipelineRef: - name: docker-build-ta - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/tekton-caches-next-cache-push.yaml b/.tekton/tekton-caches-next-cache-push.yaml deleted file mode 100644 index 2ff928245..000000000 --- a/.tekton/tekton-caches-next-cache-push.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# Generated by openshift-pipelines/hack. DO NOT EDIT. -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tekton-caches?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" - creationTimestamp: null - labels: - appstudio.openshift.io/application: tekton-caches-next - appstudio.openshift.io/component: tekton-caches-next-cache - pipelines.appstudio.openshift.io/type: build - name: tekton-caches-next-cache-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/tekton-caches-next/cache:{{revision}} - - name: dockerfile - value: .konflux/dockerfiles/cache.Dockerfile - - name: build-platforms - value: - - linux/x86_64 - - linux-m2xlarge/arm64 - - name: prefetch-input - value: | - {"type": "rpm", "path": ".konflux/rpms"} - pipelineRef: - name: docker-build-ta - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {}