From 1b62fb6799fe97e97a8684f80822793866d84fc6 Mon Sep 17 00:00:00 2001 From: red-hat-konflux Date: Fri, 11 Oct 2024 15:20:59 +0000 Subject: [PATCH] Red Hat Konflux purge bpfman-agent Signed-off-by: red-hat-konflux --- .tekton/bpfman-agent-pull-request.yaml | 74 -------------------------- .tekton/bpfman-agent-push.yaml | 72 ------------------------- 2 files changed, 146 deletions(-) delete mode 100644 .tekton/bpfman-agent-pull-request.yaml delete mode 100644 .tekton/bpfman-agent-push.yaml diff --git a/.tekton/bpfman-agent-pull-request.yaml b/.tekton/bpfman-agent-pull-request.yaml deleted file mode 100644 index 3df279b7e..000000000 --- a/.tekton/bpfman-agent-pull-request.yaml +++ /dev/null @@ -1,74 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/bpfman-operator?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" && - (".tekton/multi-arch-build-pipeline.yaml".pathChanged() || - ".tekton/bpfman-agent-pull-request.yaml".pathChanged() || - ".tekton/bpfman-agent-push.yaml".pathChanged() || - "apis/***".pathChanged() || - "controllers/***".pathChanged() || - "cmd/***".pathChanged() || - "Containerfile.bpfman-agent.openshift".pathChanged() || - "go.mod".pathChanged() || - "go.sum".pathChanged() || - "Makefile".pathChanged() || - "pkg/***".pathChanged() || - "internal/***".pathChanged() || - "test/***".pathChanged() || - "vendor/***".pathChanged()) - creationTimestamp: null - labels: - appstudio.openshift.io/application: bpfman-operator - appstudio.openshift.io/component: bpfman-agent - pipelines.appstudio.openshift.io/type: build - name: bpfman-agent-on-pull-request - namespace: ocp-bpfman-tenant -spec: - params: - - name: build-source-image - value: "true" - #- name: prefetch-input - # value: '{"type": "gomod", "path": "."}' - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/ocp-bpfman-tenant/bpfman-operator/bpfman-agent:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: dockerfile - value: Containerfile.bpfman-agent.openshift - - name: path-context - value: . - - name: build-platforms - value: - - localhost - - linux/arm64 - - linux/ppc64le - - linux/s390x - pipelineRef: - name: build-pipeline - taskRunTemplate: {} - workspaces: - - name: workspace - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - status: {} - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/bpfman-agent-push.yaml b/.tekton/bpfman-agent-push.yaml deleted file mode 100644 index 8e5d56d68..000000000 --- a/.tekton/bpfman-agent-push.yaml +++ /dev/null @@ -1,72 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/bpfman-operator?rev={{revision}} - build.appstudio.redhat.com/commit_sha: '{{revision}}' - build.appstudio.redhat.com/target_branch: '{{target_branch}}' - build.appstudio.openshift.io/build-nudge-files: "hack/update_configmap.sh" - pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && - (".tekton/multi-arch-build-pipeline.yaml".pathChanged() || - ".tekton/bpfman-agent-pull-request.yaml".pathChanged() || - ".tekton/bpfman-agent-push.yaml".pathChanged() || - "apis/***".pathChanged() || - "controllers/***".pathChanged() || - "cmd/***".pathChanged() || - "Containerfile.bpfman-agent.openshift".pathChanged() || - "go.mod".pathChanged() || - "go.sum".pathChanged() || - "Makefile".pathChanged() || - "pkg/***".pathChanged() || - "internal/***".pathChanged() || - "test/***".pathChanged() || - "vendor/***".pathChanged()) - creationTimestamp: null - labels: - appstudio.openshift.io/application: bpfman-operator - appstudio.openshift.io/component: bpfman-agent - pipelines.appstudio.openshift.io/type: build - name: bpfman-agent-on-push - namespace: ocp-bpfman-tenant -spec: - params: - - name: build-source-image - value: "true" - #- name: prefetch-input - # value: '{"type": "gomod", "path": "."}' - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/ocp-bpfman-tenant/bpfman-operator/bpfman-agent:{{revision}} - - name: dockerfile - value: Containerfile.bpfman-agent.openshift - - name: path-context - value: . - - name: build-platforms - value: - - localhost - - linux/arm64 - - linux/ppc64le - - linux/s390x - pipelineRef: - name: build-pipeline - taskRunTemplate: {} - workspaces: - - name: workspace - volumeClaimTemplate: - metadata: - creationTimestamp: null - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - status: {} - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {}