diff --git a/.tekton/bpfman-operator-bundle-pull-request.yaml b/.tekton/bpfman-operator-bundle-pull-request.yaml deleted file mode 100644 index bf4a9ecfe..000000000 --- a/.tekton/bpfman-operator-bundle-pull-request.yaml +++ /dev/null @@ -1,58 +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/single-arch-build-pipeline.yaml".pathChanged() || - ".tekton/bpfman-operator-bundle-pull-request.yaml".pathChanged() || - ".tekton/bpfman-operator-bundle-push.yaml".pathChanged() || - "Containerfile.bundle.openshift".pathChanged() || - "bundle/***".pathChanged() || - "hack/***".pathChanged()) - creationTimestamp: null - labels: - appstudio.openshift.io/application: bpfman-operator - appstudio.openshift.io/component: bpfman-operator-bundle - pipelines.appstudio.openshift.io/type: build - name: bpfman-operator-bundle-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-operator-bundle:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: dockerfile - value: Containerfile.bundle.openshift - pipelineRef: - name: single-arch-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-operator-bundle-push.yaml b/.tekton/bpfman-operator-bundle-push.yaml deleted file mode 100644 index dd8ebe4c1..000000000 --- a/.tekton/bpfman-operator-bundle-push.yaml +++ /dev/null @@ -1,57 +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_catalog.sh" - pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && - (".tekton/single-arch-build-pipeline.yaml".pathChanged() || - ".tekton/bpfman-operator-bundle-pull-request.yaml".pathChanged() || - ".tekton/bpfman-operator-bundle-push.yaml".pathChanged() || - "Containerfile.bundle.openshift".pathChanged() || - "bundle/***".pathChanged() || - "hack/update_bundle.sh".pathChanged() || - "hack/update_configmap.sh".pathChanged()) - creationTimestamp: null - labels: - appstudio.openshift.io/application: bpfman-operator - appstudio.openshift.io/component: bpfman-operator-bundle - pipelines.appstudio.openshift.io/type: build - name: bpfman-operator-bundle-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-operator-bundle:{{revision}} - - name: dockerfile - value: Containerfile.bundle.openshift - pipelineRef: - name: single-arch-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: {}