Skip to content

Commit 2470d1a

Browse files
Merge pull request #1183 from sayan-biswas/update-workspace
Reapply changes after Konflux workspace update
2 parents f60dcf9 + b4f599e commit 2470d1a

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.tekton/source-to-image-pull-request.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ metadata:
77
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "master"
10+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "pull_request" &&
12+
target_branch == "master"
1213
creationTimestamp: null
1314
labels:
1415
appstudio.openshift.io/application: source-to-image
@@ -77,19 +78,19 @@ spec:
7778
description: Skip checks against built image
7879
name: skip-checks
7980
type: string
80-
- default: "false"
81+
- default: "true"
8182
description: Execute the build with network isolation
8283
name: hermetic
8384
type: string
84-
- default: ""
85+
- default: '{"packages": [{"type": "gomod"}], "flags": ["gomod-vendor-check"]}'
8586
description: Build dependencies to be prefetched by Cachi2
8687
name: prefetch-input
8788
type: string
8889
- default: ""
8990
description: Image tag expiration time, time values could be something like
9091
1h, 2d, 3w for hours, days, and weeks, respectively.
9192
name: image-expires-after
92-
- default: "false"
93+
- default: "true"
9394
description: Build a source image.
9495
name: build-source-image
9596
type: string
@@ -107,6 +108,9 @@ spec:
107108
type: string
108109
- default:
109110
- linux/x86_64
111+
- linux/arm64
112+
- linux/ppc64le
113+
- linux/s390x
110114
description: List of platforms to build the container images on. The available
111115
set of values is determined by the configuration of the multi-platform-controller.
112116
name: build-platforms

.tekton/source-to-image-push.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ metadata:
66
build.appstudio.redhat.com/commit_sha: '{{revision}}'
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
9-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10-
== "master"
9+
pipelinesascode.tekton.dev/on-cel-expression: |
10+
event == "push" &&
11+
target_branch == "master"
1112
creationTimestamp: null
1213
labels:
1314
appstudio.openshift.io/application: source-to-image
@@ -74,19 +75,19 @@ spec:
7475
description: Skip checks against built image
7576
name: skip-checks
7677
type: string
77-
- default: "false"
78+
- default: "true"
7879
description: Execute the build with network isolation
7980
name: hermetic
8081
type: string
81-
- default: ""
82+
- default: '{"packages": [{"type": "gomod"}], "flags": ["gomod-vendor-check"]}'
8283
description: Build dependencies to be prefetched by Cachi2
8384
name: prefetch-input
8485
type: string
8586
- default: ""
8687
description: Image tag expiration time, time values could be something like
8788
1h, 2d, 3w for hours, days, and weeks, respectively.
8889
name: image-expires-after
89-
- default: "false"
90+
- default: "true"
9091
description: Build a source image.
9192
name: build-source-image
9293
type: string
@@ -104,6 +105,9 @@ spec:
104105
type: string
105106
- default:
106107
- linux/x86_64
108+
- linux/arm64
109+
- linux/ppc64le
110+
- linux/s390x
107111
description: List of platforms to build the container images on. The available
108112
set of values is determined by the configuration of the multi-platform-controller.
109113
name: build-platforms

0 commit comments

Comments
 (0)