Skip to content

Commit

Permalink
Red Hat Konflux update fbc-v4-16 (#926)
Browse files Browse the repository at this point in the history
* Red Hat Konflux update fbc-v4-16
Signed-off-by: red-hat-konflux <[email protected]>

* Update fbc-v4-16-pull-request.yaml

* Update fbc-v4-16-push.yaml

* Update fbc-v4-16-pull-request.yaml

---------

Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Olivier Cazade <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent a90be9d commit bfeb22a
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .tekton/fbc-v4-16-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
== "main" &&
(".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: fbc-v4-16
appstudio.openshift.io/component: fbc-v4-16
pipelines.appstudio.openshift.io/type: build
name: fbc-v4-16-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/fbc-v4-16: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.16
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: {}
54 changes: 54 additions & 0 deletions .tekton/fbc-v4-16-push.yaml
Original file line number Diff line number Diff line change
@@ -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
== "main" &&
(".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: fbc-v4-16
appstudio.openshift.io/component: fbc-v4-16
pipelines.appstudio.openshift.io/type: build
name: fbc-v4-16-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/fbc-v4-16:latest
- name: dockerfile
value: catalog.Dockerfile.downstream
- name: opm-image
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16
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: {}

0 comments on commit bfeb22a

Please sign in to comment.