File tree 4 files changed +32
-20
lines changed 4 files changed +32
-20
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,16 @@ metadata:
8
8
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
9
9
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
10
10
pipelinesascode.tekton.dev/max-keep-runs : " 500"
11
- # TODO(ROX-21073): re-enable for all PR branches
12
11
pipelinesascode.tekton.dev/on-cel-expression : |
13
- (event == "push" && target_branch.matches("^(master|release-.*)$")) ||
14
- (event == "pull_request" && (source_branch.matches("(konflux|appstudio|rhtap)") || body.pull_request.labels.exists(l, l.name == "konflux-build")))
12
+ event == "pull_request" || (
13
+ event == "push" && (
14
+ source_branch.startsWith("release-") ||
15
+ target_branch.startsWith("refs/tags/")
16
+ )
17
+ )
15
18
labels :
16
- appstudio.openshift.io/application : acs
17
- appstudio.openshift.io/component : scanner
19
+ appstudio.openshift.io/application : acs-4-6
20
+ appstudio.openshift.io/component : scanner-4-6
18
21
pipelines.appstudio.openshift.io/type : build
19
22
name : scanner-build
20
23
namespace : rh-acs-tenant
Original file line number Diff line number Diff line change @@ -8,13 +8,16 @@ metadata:
8
8
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
9
9
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
10
10
pipelinesascode.tekton.dev/max-keep-runs : " 500"
11
- # TODO(ROX-21073): re-enable for all PR branches
12
11
pipelinesascode.tekton.dev/on-cel-expression : |
13
- (event == "push" && target_branch.matches("^(master|release-.*)$")) ||
14
- (event == "pull_request" && (source_branch.matches("(konflux|appstudio|rhtap)") || body.pull_request.labels.exists(l, l.name == "konflux-build")))
12
+ event == "pull_request" || (
13
+ event == "push" && (
14
+ source_branch.startsWith("release-") ||
15
+ target_branch.startsWith("refs/tags/")
16
+ )
17
+ )
15
18
labels :
16
- appstudio.openshift.io/application : acs
17
- appstudio.openshift.io/component : scanner-db
19
+ appstudio.openshift.io/application : acs-4-6
20
+ appstudio.openshift.io/component : scanner-db-4-6
18
21
pipelines.appstudio.openshift.io/type : build
19
22
name : scanner-db-build
20
23
namespace : rh-acs-tenant
Original file line number Diff line number Diff line change @@ -8,13 +8,16 @@ metadata:
8
8
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
9
9
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
10
10
pipelinesascode.tekton.dev/max-keep-runs : " 500"
11
- # TODO(ROX-21073): re-enable for all PR branches
12
11
pipelinesascode.tekton.dev/on-cel-expression : |
13
- (event == "push" && target_branch.matches("^(master|release-.*)$")) ||
14
- (event == "pull_request" && (source_branch.matches("(konflux|appstudio|rhtap)") || body.pull_request.labels.exists(l, l.name == "konflux-build")))
12
+ event == "pull_request" || (
13
+ event == "push" && (
14
+ source_branch.startsWith("release-") ||
15
+ target_branch.startsWith("refs/tags/")
16
+ )
17
+ )
15
18
labels :
16
- appstudio.openshift.io/application : acs
17
- appstudio.openshift.io/component : scanner-db-slim
19
+ appstudio.openshift.io/application : acs-4-6
20
+ appstudio.openshift.io/component : scanner-db-slim-4-6
18
21
pipelines.appstudio.openshift.io/type : build
19
22
name : scanner-db-slim-build
20
23
namespace : rh-acs-tenant
Original file line number Diff line number Diff line change @@ -8,13 +8,16 @@ metadata:
8
8
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
9
9
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
10
10
pipelinesascode.tekton.dev/max-keep-runs : " 500"
11
- # TODO(ROX-21073): re-enable for all PR branches
12
11
pipelinesascode.tekton.dev/on-cel-expression : |
13
- (event == "push" && target_branch.matches("^(master|release-.*)$")) ||
14
- (event == "pull_request" && (source_branch.matches("(konflux|appstudio|rhtap)") || body.pull_request.labels.exists(l, l.name == "konflux-build")))
12
+ event == "pull_request" || (
13
+ event == "push" && (
14
+ target_branch.startsWith("release-") ||
15
+ target_branch.startsWith("refs/tags/")
16
+ )
17
+ )
15
18
labels :
16
- appstudio.openshift.io/application : acs
17
- appstudio.openshift.io/component : scanner-slim
19
+ appstudio.openshift.io/application : acs-4-6
20
+ appstudio.openshift.io/component : scanner-slim-4-6
18
21
pipelines.appstudio.openshift.io/type : build
19
22
name : scanner-slim-build
20
23
namespace : rh-acs-tenant
You can’t perform that action at this time.
0 commit comments