Skip to content

Commit 97d2b19

Browse files
author
idp-bot
committed
auto update doc build config for doc pipeline
1 parent 61dff35 commit 97d2b19

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.tekton/doc-build.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ metadata:
88
pipelinesascode.tekton.dev/max-keep-runs: "10"
99
pipelinesascode.tekton.dev/on-cel-expression: |-
1010
(
11-
event == "push" && (
12-
source_branch.matches("^(main|master|release-.*)$") ||
13-
target_branch.matches("^(main|master|release-.*)$")
11+
event == "push" &&
12+
!last_commit_title.contains("ci skip") && (
13+
source_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$") ||
14+
target_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$")
1415
)
1516
)
1617
spec:
1718
timeouts:
18-
pipeline: 2h
19-
tasks: 2h
19+
pipeline: 6h
20+
tasks: 3h
2021

2122
params:
2223
- name: doc-base

.tekton/doc-pr-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
pipelinesascode.tekton.dev/on-cel-expression: |-
1010
(
1111
event == "pull_request" && (
12-
target_branch.matches("^(main|master|release-.*)$")
12+
target_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$")
1313
)
1414
)
1515
spec:

0 commit comments

Comments
 (0)