23
23
- name : revision
24
24
value : ' {{revision}}'
25
25
- name : output-image
26
- value : quay.io/redhat-user-workloads/ ansible-lightspeed-tenant /ansible-chatbot-stack:{{revision}}
26
+ value : quay.io/ansible/ansible-chatbot-stack:{{revision}}
27
27
- name : dockerfile
28
28
value : Containerfile
29
+ - name : build-args
30
+ value :
31
+ - ANSIBLE_CHATBOT_VERSION=0.1.9
32
+ - LLAMA_STACK_RUN_CONFIG=ansible-chatbot-run.yaml
29
33
pipelineSpec :
30
34
description : |
31
35
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
@@ -195,6 +199,34 @@ spec:
195
199
workspace : git-auth
196
200
- name : netrc
197
201
workspace : netrc
202
+ - name : run-script
203
+ params :
204
+ - name : ociStorage
205
+ value : $(params.output-image).script
206
+ - name : ociArtifactExpiresAfter
207
+ value : $(params.image-expires-after)
208
+ - name : SCRIPT_RUNNER_IMAGE
209
+ value : registry.access.redhat.com/ubi9/ubi-minimal
210
+ - name : SCRIPT
211
+ value : |
212
+ #!/bin/sh
213
+ mkdir -p llama-stack/providers.d/inline/agents/
214
+ curl -o llama-stack/providers.d/inline/agents/lightspeed_inline_agent.yaml https://raw.githubusercontent.com/lightspeed-core/lightspeed-providers/refs/heads/main/resources/external_providers/inline/agents/lightspeed_inline_agent.yaml
215
+ - name : HERMETIC
216
+ value : $(params.hermetic)
217
+ - name : SOURCE_ARTIFACT
218
+ value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
219
+ runAfter :
220
+ - prefetch-dependencies
221
+ taskRef :
222
+ params :
223
+ - name : name
224
+ value : run-script-oci-ta
225
+ - name : bundle
226
+ value : quay.io/konflux-ci/tekton-catalog/task-run-script-oci-ta:0.1@sha256:c0f627069353ebd6d1ed03c8657e281eaf11be63706ea38cc53caf16cf4ffd65
227
+ - name : kind
228
+ value : task
229
+ resolver : bundles
198
230
- name : build-container
199
231
params :
200
232
- name : IMAGE
@@ -219,11 +251,14 @@ spec:
219
251
- name : PRIVILEGED_NESTED
220
252
value : $(params.privileged-nested)
221
253
- name : SOURCE_ARTIFACT
222
- value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
254
+ value : $(tasks.run-script.results.SCRIPT_ARTIFACT)
255
+ - name : ADDITIONAL_BASE_IMAGES
256
+ value :
257
+ - $(tasks.run-script.results.SCRIPT_RUNNER_IMAGE_REFERENCE)
223
258
- name : CACHI2_ARTIFACT
224
259
value : $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
225
260
runAfter :
226
- - prefetch-dependencies
261
+ - run-script
227
262
taskRef :
228
263
params :
229
264
- name : name
@@ -533,6 +568,10 @@ spec:
533
568
value : $(tasks.build-image-index.results.IMAGE_URL)
534
569
- name : IMAGE_DIGEST
535
570
value : $(tasks.build-image-index.results.IMAGE_DIGEST)
571
+ - name : ADDITIONAL_TAGS
572
+ value :
573
+ - latest
574
+ - 0.9.$(tasks.git-metadata.results.commit-timestamp)
536
575
runAfter :
537
576
- build-image-index
538
577
taskRef :
0 commit comments