Skip to content

Commit 79d6fff

Browse files
authored
Merge pull request #637 from littlejawa/fix_regexp_in_on_cel_expression
konflux: avoid rebuilding images every time something is changed
2 parents 08a2ccf + 17fb363 commit 79d6fff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.tekton/osc-must-gather-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
build.appstudio.redhat.com/commit_sha: '{{revision}}'
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
9-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "devel"
9+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "devel" && ( "must-gather/***".pathChanged() || ".tekton/osc-must-gather-push.yaml".pathChanged() )
1010
creationTimestamp:
1111
labels:
1212
appstudio.openshift.io/application: openshift-sandboxed-containers

.tekton/osc-podvm-builder-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
build.appstudio.redhat.com/commit_sha: '{{revision}}'
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
9-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "devel"
9+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "devel" && ( "config/peerpods/podvm/***".pathChanged() || ".tekton/osc-podvm-builder-push.yaml".pathChanged() )
1010
creationTimestamp:
1111
labels:
1212
appstudio.openshift.io/application: openshift-sandboxed-containers

0 commit comments

Comments
 (0)