Skip to content

Commit 552a084

Browse files
red-hat-konflux[bot]red-hat-konfluxOlivierCazade
authored
Red Hat Konflux update fbc-v-4-12 (#923)
* Red Hat Konflux update fbc-v-4-12 Signed-off-by: red-hat-konflux <[email protected]> * Update fbc-v-4-12-pull-request.yaml * Update fbc-v-4-12-push.yaml --------- Co-authored-by: red-hat-konflux <[email protected]> Co-authored-by: Olivier Cazade <[email protected]>
1 parent f99da52 commit 552a084

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
"./requirements.txt".pathChanged() ||
16+
"hack/update-build.sh".pathChanged() ||
17+
"hack/bundle_digest.sh".pathChanged() ||
18+
"hack/patch_catalog.py".pathChanged() ||
19+
"hack/patch_csv.py".pathChanged())
20+
creationTimestamp: null
21+
labels:
22+
appstudio.openshift.io/application: fbc-v4-12
23+
appstudio.openshift.io/component: fbc-v-4-12
24+
pipelines.appstudio.openshift.io/type: build
25+
name: fbc-v-4-12-on-pull-request
26+
namespace: ocp-network-observab-tenant
27+
spec:
28+
params:
29+
- name: git-url
30+
value: '{{source_url}}'
31+
- name: revision
32+
value: '{{revision}}'
33+
- name: output-image
34+
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/fbc-v-4-12:on-pr-{{revision}}
35+
- name: image-expires-after
36+
value: 5d
37+
- name: dockerfile
38+
value: catalog.Dockerfile.downstream
39+
- name: opm-image
40+
value: registry.redhat.io/openshift4/ose-operator-registry:v4.12
41+
pipelineRef:
42+
name: build-fbc-pipeline
43+
workspaces:
44+
- name: workspace
45+
volumeClaimTemplate:
46+
metadata:
47+
creationTimestamp: null
48+
spec:
49+
accessModes:
50+
- ReadWriteOnce
51+
resources:
52+
requests:
53+
storage: 1Gi
54+
status: {}
55+
- name: git-auth
56+
secret:
57+
secretName: '{{ git_auth_secret }}'
58+
status: {}

.tekton/fbc-v-4-12-push.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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-12
21+
appstudio.openshift.io/component: fbc-v-4-12
22+
pipelines.appstudio.openshift.io/type: build
23+
name: fbc-v-4-12-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-v-4-12:latest
33+
- name: dockerfile
34+
value: catalog.Dockerfile.downstream
35+
pipelineRef:
36+
name: build-fbc-pipeline
37+
workspaces:
38+
- name: workspace
39+
volumeClaimTemplate:
40+
metadata:
41+
creationTimestamp: null
42+
spec:
43+
accessModes:
44+
- ReadWriteOnce
45+
resources:
46+
requests:
47+
storage: 1Gi
48+
status: {}
49+
- name: git-auth
50+
secret:
51+
secretName: '{{ git_auth_secret }}'
52+
status: {}

0 commit comments

Comments
 (0)