Skip to content

Commit fac00d8

Browse files
Merge pull request #401 from kalavathiy/OSD-31063
OSD-31063:Removing the on-cel-expression to fix the jenkins build
2 parents 6442217 + 0ca33ad commit fac00d8

4 files changed

+4
-28
lines changed

.tekton/managed-cluster-validating-webhooks-e2e-pull-request.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: |
12-
event == "pull_request"
13-
&& target_branch == "master"
14-
&& ("{.,**}/*.go".pathChanged() ||
15-
"{.,**}/go.*".pathChanged() ||
16-
"build/Dockerfile".pathChanged() ||
17-
".tekton/managed-cluster-validating-webhooks-e2e-pull-request.yaml".pathChanged() )
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "master"
1812
creationTimestamp: null
1913
labels:
2014
appstudio.openshift.io/application: managed-cluster-validating-webhooks

.tekton/managed-cluster-validating-webhooks-e2e-push.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: |
11-
event == "push"
12-
&& target_branch == "master"
13-
&& ("{.,**}/*.go".pathChanged() ||
14-
"{.,**}/go.*".pathChanged() ||
15-
"build/Dockerfile".pathChanged() ||
16-
".tekton/managed-cluster-validating-webhooks-e2e-push.yaml".pathChanged() )
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "master"
1711
creationTimestamp: null
1812
labels:
1913
appstudio.openshift.io/application: managed-cluster-validating-webhooks

.tekton/managed-cluster-validating-webhooks-pull-request.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: |
12-
event == "pull_request"
13-
&& target_branch == "master"
14-
&& ("{.,**}/*.go".pathChanged() ||
15-
"{.,**}/go.*".pathChanged() ||
16-
"build/Dockerfile".pathChanged() ||
17-
".tekton/managed-cluster-validating-webhooks-pull-request.yaml".pathChanged() )
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "master"
1812
creationTimestamp: null
1913
labels:
2014
appstudio.openshift.io/application: managed-cluster-validating-webhooks

.tekton/managed-cluster-validating-webhooks-push.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: |
11-
event == "push"
12-
&& target_branch == "master"
13-
&& ("{.,**}/*.go".pathChanged() ||
14-
"{.,**}/go.*".pathChanged() ||
15-
"build/Dockerfile".pathChanged() ||
16-
".tekton/managed-cluster-validating-webhooks-push.yaml".pathChanged() )
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "master"
1711
creationTimestamp: null
1812
labels:
1913
appstudio.openshift.io/application: managed-cluster-validating-webhooks

0 commit comments

Comments
 (0)