Skip to content

Commit 8d46945

Browse files
committed
adding tekton changes
1 parent b944f77 commit 8d46945

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

.tekton/vllm-cuda-odh-poc-push.yaml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ spec:
3939
value: true
4040
- name: clone-depth
4141
value: "2147483647"
42-
- name: build-platforms
43-
value:
44-
- linux-extra-fast/amd64
42+
- name: build-platform
43+
value: linux-extra-fast/amd64
4544
pipelineSpec:
4645
description: |
4746
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
@@ -124,10 +123,9 @@ spec:
124123
VMs
125124
name: privileged-nested
126125
type: string
127-
- name: build-platforms
128-
default:
129-
- linux-extra-fast/amd64
130-
description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller.
126+
- name: build-platform
127+
default: linux-extra-fast/amd64
128+
description: Platform to build the container image on. The available set of values is determined by the configuration of the multi-platform-controller.
131129
- description: Fetch all tags for the repo
132130
name: fetch-git-tags
133131
type: string
@@ -136,6 +134,10 @@ spec:
136134
name: clone-depth
137135
type: string
138136
default: "1"
137+
- default: "does-not-exist"
138+
description: Kubernetes secret to mount into build, see https://www.redhat.com/en/blog/sensitive-data-containers
139+
name: additional-build-secret
140+
type: string
139141
results:
140142
- description: ""
141143
name: IMAGE_URL
@@ -226,9 +228,15 @@ spec:
226228
workspace: git-auth
227229
- name: netrc
228230
workspace: netrc
231+
232+
229233
- name: build-container
230234
timeout: 4h
231235
params:
236+
- name: PLATFORM
237+
value: $(params.build-platform)
238+
- name: ADDITIONAL_SECRET
239+
value: $(params.additional-build-secret)
232240
- name: IMAGE
233241
value: $(params.output-image)
234242
- name: DOCKERFILE
@@ -248,20 +256,20 @@ spec:
248256
- $(params.build-args[*])
249257
- name: BUILD_ARGS_FILE
250258
value: $(params.build-args-file)
251-
- name: PRIVILEGED_NESTED
252-
value: $(params.privileged-nested)
253259
- name: SOURCE_ARTIFACT
254260
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
255261
- name: CACHI2_ARTIFACT
256262
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
263+
- name: IMAGE_APPEND_PLATFORM
264+
value: "true"
257265
runAfter:
258266
- prefetch-dependencies
259267
taskRef:
260268
params:
261269
- name: name
262-
value: buildah-oci-ta
270+
value: buildah-remote-oci-ta
263271
- name: bundle
264-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.4@sha256:6ac9d16f598c14a4b56e662eccda0a438e94aa8f87dd27a3ea0ff1abc6e00c66
272+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.3@sha256:2be1d9a4a1354d5d82c15e2838a82b0664fe0d2a274282697bb850fa80781b4c
265273
- name: kind
266274
value: task
267275
resolver: bundles
@@ -270,6 +278,7 @@ spec:
270278
operator: in
271279
values:
272280
- "true"
281+
273282
- name: build-image-index
274283
params:
275284
- name: IMAGE
@@ -299,6 +308,7 @@ spec:
299308
operator: in
300309
values:
301310
- "true"
311+
302312
- name: build-source-image
303313
params:
304314
- name: BINARY_IMAGE

0 commit comments

Comments
 (0)