Skip to content

Commit 924e3d2

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

File tree

2 files changed

+117
-0
lines changed

2 files changed

+117
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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-17
22+
appstudio.openshift.io/component: fbc-v4-17
23+
pipelines.appstudio.openshift.io/type: build
24+
name: fbc-v4-17-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-17:on-pr-{{revision}}
34+
- name: image-expires-after
35+
value: 5d
36+
- name: build-platforms
37+
value:
38+
- linux/x86_64
39+
- name: dockerfile
40+
value: catalog.Dockerfile.downstream
41+
- name: opm-image
42+
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.17
43+
pipelineRef:
44+
name: build-fbc-pipeline
45+
workspaces:
46+
- name: workspace
47+
volumeClaimTemplate:
48+
metadata:
49+
creationTimestamp: null
50+
spec:
51+
accessModes:
52+
- ReadWriteOnce
53+
resources:
54+
requests:
55+
storage: 1Gi
56+
status: {}
57+
- name: git-auth
58+
secret:
59+
secretName: '{{ git_auth_secret }}'
60+
status: {}

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

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/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-17
21+
appstudio.openshift.io/component: fbc-v4-17
22+
pipelines.appstudio.openshift.io/type: build
23+
name: fbc-v4-17-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-17:latest
33+
- name: build-platforms
34+
value:
35+
- linux/x86_64
36+
- name: dockerfile
37+
value: catalog.Dockerfile.downstream
38+
- name: opm-image
39+
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.17
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: {}

0 commit comments

Comments
 (0)