Skip to content

Commit

Permalink
Red Hat Konflux update network-observability-operator-fbc-1-8 (#1079)
Browse files Browse the repository at this point in the history
* Red Hat Konflux update network-observability-operator-fbc-1-8
Signed-off-by: red-hat-konflux <[email protected]>

* Update network-observability-operator-fbc-1-8-pull-request.yaml

* Update network-observability-operator-fbc-1-8-push.yaml

---------

Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Olivier Cazade <[email protected]>
  • Loading branch information
3 people authored Jan 30, 2025
1 parent 37d1027 commit 54a06c1
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .tekton/network-observability-operator-fbc-1-8-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -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.8" &&
(".tekton/***".pathChanged() ||
"catalog.Dockerfile.downstream".pathChanged() ||
"catalog/***".pathChanged() ||
"./requirements.txt".pathChanged() ||
"hack/update-build.sh".pathChanged() ||
"hack/patch_catalog.py".pathChanged() ||
"hack/patch_csv.py".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: netobserv-operator-1-8
appstudio.openshift.io/component: network-observability-operator-fbc-1-8
pipelines.appstudio.openshift.io/type: build
name: network-observability-operator-fbc-1-8-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/netobserv-operator/network-observability-operator-fbc:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: ./catalog.Dockerfile.downstream
- name: build-platforms
value: ["linux/x86_64"]
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: {}
52 changes: 52 additions & 0 deletions .tekton/network-observability-operator-fbc-1-8-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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.8" &&
(".tekton/***".pathChanged() ||
"catalog.Dockerfile.downstream".pathChanged() ||
"catalog/***".pathChanged() ||
"./requirements.txt".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-8
appstudio.openshift.io/component: network-observability-operator-fbc-1-8
pipelines.appstudio.openshift.io/type: build
name: network-observability-operator-fbc-1-8-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/netobserv-operator/network-observability-operator-fbc:latest
- name: dockerfile
value: ./catalog.Dockerfile.downstream
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 }}'

0 comments on commit 54a06c1

Please sign in to comment.