Skip to content

Commit

Permalink
.tekton: do not run operator, webhook and proxy on openshift/olm-cata…
Browse files Browse the repository at this point in the history
…log updates

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Oct 8, 2024
1 parent 776b218 commit 1efad39
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tekton/operator-main-operator-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/operator-pull-request.yaml".pathChanged() ||
".tekton/operator-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down
2 changes: 1 addition & 1 deletion .tekton/operator-main-operator-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/operator-pull-request.yaml".pathChanged() ||
".tekton/operator-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down
2 changes: 1 addition & 1 deletion .tekton/operator-main-proxy-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/proxy-pull-request.yaml".pathChanged() ||
".tekton/proxy-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down
2 changes: 1 addition & 1 deletion .tekton/operator-main-proxy-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/proxy-pull-request.yaml".pathChanged() ||
".tekton/proxy-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down
2 changes: 1 addition & 1 deletion .tekton/operator-main-webhook-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/webhook-pull-request.yaml".pathChanged() ||
".tekton/webhook-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down
2 changes: 1 addition & 1 deletion .tekton/operator-main-webhook-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main" &&
("upstream/***".pathChanged() || "openshift/***".pathChanged() ||
("upstream/***".pathChanged() || "openshift/dockerfiles/***".pathChanged() || "openshift/rpms/***".pathChanged() ||
".tekton/webhook-pull-request.yaml".pathChanged() ||
".tekton/webhook-push.yaml".pathChanged() ||
".tekton/docker-build.yaml".pathChanged())
Expand Down

0 comments on commit 1efad39

Please sign in to comment.