Skip to content

Commit a90be9d

Browse files
red-hat-konflux[bot]red-hat-konfluxOlivierCazade
authored
Red Hat Konflux update fbc-v4-15 (#925)
* Red Hat Konflux update fbc-v4-15 Signed-off-by: red-hat-konflux <[email protected]> * Update fbc-v4-15-pull-request.yaml * Update fbc-v4-15-push.yaml --------- Co-authored-by: red-hat-konflux <[email protected]> Co-authored-by: Olivier Cazade <[email protected]>
1 parent 55f00a7 commit a90be9d

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-operator?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11+
== "main" &&
12+
(".tekton/***".pathChanged() ||
13+
"catalog.Dockerfile.downstream".pathChanged() ||
14+
"catalog/***".pathChanged() ||
15+
"hack/update-build.sh".pathChanged() ||
16+
"hack/bundle_digest.sh".pathChanged() ||
17+
"hack/patch_catalog.py".pathChanged() ||
18+
"hack/patch_csv.py".pathChanged())
19+
creationTimestamp: null
20+
labels:
21+
appstudio.openshift.io/application: fbc-v4-15
22+
appstudio.openshift.io/component: fbc-v4-15
23+
pipelines.appstudio.openshift.io/type: build
24+
name: fbc-v4-15-on-pull-request
25+
namespace: ocp-network-observab-tenant
26+
spec:
27+
params:
28+
- name: git-url
29+
value: '{{source_url}}'
30+
- name: revision
31+
value: '{{revision}}'
32+
- name: output-image
33+
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/fbc-v4-15:on-pr-{{revision}}
34+
- name: image-expires-after
35+
value: 5d
36+
- name: dockerfile
37+
value: catalog.Dockerfile.downstream
38+
- name: opm-image
39+
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.15
40+
pipelineRef:
41+
name: build-fbc-pipeline
42+
workspaces:
43+
- name: workspace
44+
volumeClaimTemplate:
45+
metadata:
46+
creationTimestamp: null
47+
spec:
48+
accessModes:
49+
- ReadWriteOnce
50+
resources:
51+
requests:
52+
storage: 1Gi
53+
status: {}
54+
- name: git-auth
55+
secret:
56+
secretName: '{{ git_auth_secret }}'
57+
status: {}

.tekton/fbc-v4-15-push.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-operator?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/max-keep-runs: "3"
9+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10+
== "main" &&
11+
(".tekton/***".pathChanged() ||
12+
"catalog.Dockerfile.downstream".pathChanged() ||
13+
"catalog/***".pathChanged() ||
14+
"hack/update-build.sh".pathChanged() ||
15+
"hack/bundle_digest.sh".pathChanged() ||
16+
"hack/patch_catalog.py".pathChanged() ||
17+
"hack/patch_csv.py".pathChanged())
18+
creationTimestamp: null
19+
labels:
20+
appstudio.openshift.io/application: fbc-v4-15
21+
appstudio.openshift.io/component: fbc-v4-15
22+
pipelines.appstudio.openshift.io/type: build
23+
name: fbc-v4-15-on-push
24+
namespace: ocp-network-observab-tenant
25+
spec:
26+
params:
27+
- name: git-url
28+
value: '{{source_url}}'
29+
- name: revision
30+
value: '{{revision}}'
31+
- name: output-image
32+
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/fbc-v4-15:latest
33+
- name: dockerfile
34+
value: catalog.Dockerfile.downstream
35+
- name: opm-image
36+
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.15
37+
pipelineRef:
38+
name: build-fbc-pipeline
39+
workspaces:
40+
- name: workspace
41+
volumeClaimTemplate:
42+
metadata:
43+
creationTimestamp: null
44+
spec:
45+
accessModes:
46+
- ReadWriteOnce
47+
resources:
48+
requests:
49+
storage: 1Gi
50+
status: {}
51+
- name: git-auth
52+
secret:
53+
secretName: '{{ git_auth_secret }}'
54+
status: {}

0 commit comments

Comments
 (0)