Skip to content

Commit 23e4a51

Browse files
Fixing konflux configuration for fbc 4.18 (netobserv#1169)
1 parent d5a4297 commit 23e4a51

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.tekton/fbc-v4-18-pull-request.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main"
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())
1219
creationTimestamp: null
1320
labels:
1421
appstudio.openshift.io/application: fbc-v4-18
@@ -38,6 +45,17 @@ spec:
3845
pipelineRef:
3946
name: build-fbc-pipeline
4047
workspaces:
48+
- name: workspace
49+
volumeClaimTemplate:
50+
metadata:
51+
creationTimestamp: null
52+
spec:
53+
accessModes:
54+
- ReadWriteOnce
55+
resources:
56+
requests:
57+
storage: 1Gi
58+
status: {}
4159
- name: git-auth
4260
secret:
4361
secretName: '{{ git_auth_secret }}'

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ spec:
4040
pipelineRef:
4141
name: build-fbc-pipeline
4242
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: {}
4354
- name: git-auth
4455
secret:
4556
secretName: '{{ git_auth_secret }}'

0 commit comments

Comments
 (0)