Skip to content

Commit 7646719

Browse files
Merge pull request #1197 from xinredhat/release-1.7_ci_fix
chore: minor update for PLR
2 parents 3e11504 + ec7c197 commit 7646719

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.tekton/tssc-cli-pull-request.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ 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: event == "pull_request" && target_branch
12-
== "release-1.7"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "pull_request"
13+
&& target_branch == "release-1.7"
14+
&& files.all.exists(x, !x.matches('^(?:docs|.github|.vscode|.ci)/|\\.md$|^(?:.*/)?(?:\\.gitignore|OWNERS|PROJECT|LICENSE.txt|.golangci.yaml|.goreleaser.yaml|.snyk|.dockerignore|yamllint.yaml)$'))
1315
creationTimestamp: null
1416
labels:
1517
appstudio.openshift.io/application: tssc-cli-1-7
@@ -80,7 +82,7 @@ spec:
8082
description: Skip checks against built image
8183
name: skip-checks
8284
type: string
83-
- default: "false"
85+
- default: "true"
8486
description: Execute the build with network isolation
8587
name: hermetic
8688
type: string
@@ -93,7 +95,7 @@ spec:
9395
1h, 2d, 3w for hours, days, and weeks, respectively.
9496
name: image-expires-after
9597
type: string
96-
- default: "false"
98+
- default: "true"
9799
description: Build a source image.
98100
name: build-source-image
99101
type: string

.tekton/tssc-cli-push.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ 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: event == "push" && target_branch == "release-1.7"
10+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "push"
12+
&& target_branch == "release-1.7"
13+
&& files.all.exists(x, !x.matches('^(?:docs|.github|.vscode|.ci)/|\\.md$|^(?:.*/)?(?:\\.gitignore|OWNERS|PROJECT|LICENSE.txt|.golangci.yaml|.goreleaser.yaml|.snyk|.dockerignore|yamllint.yaml)$'))
1114
creationTimestamp: null
1215
labels:
1316
appstudio.openshift.io/application: tssc-cli-1-7
@@ -74,7 +77,7 @@ spec:
7477
description: Skip checks against built image
7578
name: skip-checks
7679
type: string
77-
- default: "false"
80+
- default: "true"
7881
description: Execute the build with network isolation
7982
name: hermetic
8083
type: string
@@ -86,7 +89,7 @@ spec:
8689
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
8790
name: image-expires-after
8891
type: string
89-
- default: "false"
92+
- default: "true"
9093
description: Build a source image.
9194
name: build-source-image
9295
type: string
@@ -528,7 +531,7 @@ spec:
528531
params:
529532
- name: ADDITIONAL_TAGS
530533
value:
531-
- latest
534+
- release-1.7
532535
- name: IMAGE_URL
533536
value: $(tasks.build-image-index.results.IMAGE_URL)
534537
- name: IMAGE_DIGEST

0 commit comments

Comments
 (0)