Skip to content

Commit 13cad47

Browse files
committed
disable on-push jobs
1 parent 753919b commit 13cad47

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.tekton/network-observability-cli-ystream-push.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
99
# switch comment in/out at branch cut / release
10-
pipelinesascode.tekton.dev/on-cel-expression: |
11-
event == "push" && target_branch == "main" && (
12-
".tekton/***".pathChanged() ||
13-
".dockerignore".pathChanged() ||
14-
"Dockerfile.downstream".pathChanged() ||
15-
"Dockerfile-args.downstream".pathChanged() ||
16-
"go.mod".pathChanged() ||
17-
"go.sum".pathChanged() ||
18-
"main.go".pathChanged() ||
19-
"Makefile".pathChanged() ||
20-
"cmd/***".pathChanged() ||
21-
"commands/***".pathChanged() ||
22-
"res/***".pathChanged() ||
23-
"scripts/***".pathChanged() ||
24-
".mk/***".pathChanged() ||
25-
"LICENSE".pathChanged() ||
26-
"vendor/***".pathChanged()
27-
)
28-
# pipelinesascode.tekton.dev/on-cel-expression: "false"
10+
# pipelinesascode.tekton.dev/on-cel-expression: |
11+
# event == "push" && target_branch == "main" && (
12+
# ".tekton/***".pathChanged() ||
13+
# ".dockerignore".pathChanged() ||
14+
# "Dockerfile.downstream".pathChanged() ||
15+
# "Dockerfile-args.downstream".pathChanged() ||
16+
# "go.mod".pathChanged() ||
17+
# "go.sum".pathChanged() ||
18+
# "main.go".pathChanged() ||
19+
# "Makefile".pathChanged() ||
20+
# "cmd/***".pathChanged() ||
21+
# "commands/***".pathChanged() ||
22+
# "res/***".pathChanged() ||
23+
# "scripts/***".pathChanged() ||
24+
# ".mk/***".pathChanged() ||
25+
# "LICENSE".pathChanged() ||
26+
# "vendor/***".pathChanged()
27+
# )
28+
pipelinesascode.tekton.dev/on-cel-expression: "false"
2929
creationTimestamp: null
3030
labels:
3131
appstudio.openshift.io/application: netobserv-ystream

0 commit comments

Comments
 (0)