diff --git a/.tekton/network-observability-operator-fbc-1-7-415-pull-request.yaml b/.tekton/network-observability-operator-fbc-1-7-415-pull-request.yaml new file mode 100644 index 000000000..35da42a94 --- /dev/null +++ b/.tekton/network-observability-operator-fbc-1-7-415-pull-request.yaml @@ -0,0 +1,57 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-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 + == "release-1.7" && + (".tekton/***".pathChanged() || + "catalog.Dockerfile.downstream".pathChanged() || + "catalog/***".pathChanged() || + "hack/update-build.sh".pathChanged() || + "hack/bundle_digest.sh".pathChanged() || + "hack/patch_catalog.py".pathChanged() || + "hack/patch_csv.py".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: netobserv-operator-1-7 + appstudio.openshift.io/component: network-observability-operator-fbc-1-7-415 + pipelines.appstudio.openshift.io/type: build + name: network-observability-operator-fbc-1-7-415-on-pull-request + namespace: ocp-network-observab-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/network-observability-operator-fbc-1-7-415:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: dockerfile + value: catalog.Dockerfile.downstream + - name: opm-image + value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.15 + pipelineRef: + name: build-fbc-pipeline + 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/network-observability-operator-fbc-1-7-415-push.yaml b/.tekton/network-observability-operator-fbc-1-7-415-push.yaml new file mode 100644 index 000000000..fa476dd5a --- /dev/null +++ b/.tekton/network-observability-operator-fbc-1-7-415-push.yaml @@ -0,0 +1,54 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-operator?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-1.7" && + (".tekton/***".pathChanged() || + "catalog.Dockerfile.downstream".pathChanged() || + "catalog/***".pathChanged() || + "hack/update-build.sh".pathChanged() || + "hack/bundle_digest.sh".pathChanged() || + "hack/patch_catalog.py".pathChanged() || + "hack/patch_csv.py".pathChanged()) + creationTimestamp: null + labels: + appstudio.openshift.io/application: netobserv-operator-1-7 + appstudio.openshift.io/component: network-observability-operator-fbc-1-7-415 + pipelines.appstudio.openshift.io/type: build + name: network-observability-operator-fbc-1-7-415-on-push + namespace: ocp-network-observab-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/network-observability-operator-fbc-1-7-415:latest + - name: dockerfile + value: catalog.Dockerfile.downstream + - name: opm-image + value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.15 + pipelineRef: + name: build-fbc-pipeline + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {}