11apiVersion : tekton.dev/v1
22kind : Pipeline
33metadata :
4- creationTimestamp :
54 labels :
65 pipelines.openshift.io/runtime : generic
76 pipelines.openshift.io/strategy : docker
1918 - linux/arm64
2019 - linux/ppc64le
2120 - linux/s390x
22- 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.
21+ description : List of platforms to build the container images on. The available
22+ set of values is determined by the configuration of the multi-platform-controller.
2323 name : build-platforms
2424 type : array
2525 - default : --all-projects --org=3e1a4cca-ebfb-495f-b64c-3cc960d566b4 --exclude=test*,vendor,third_party
3131 name : build-source-image
3232 type : string
3333 - default : " false"
34- description : ' Enable in-development package managers. WARNING: the behavior may change at any time without notice. Use at your own risk.'
34+ description : ' Enable in-development package managers. WARNING: the behavior may
35+ change at any time without notice. Use at your own risk.'
3536 name : prefetch-input-dev-package-managers
3637 - default : []
3738 description : Additional image tags
@@ -48,17 +49,15 @@ spec:
4849 name : output-image
4950 type : string
5051 - default : .
51- description : Path to the source code of an application's component from where to build image.
52+ description : Path to the source code of an application's component from where
53+ to build image.
5254 name : path-context
5355 type : string
5456 - default : Dockerfile
55- description : Path to the Dockerfile inside the context specified by parameter path-context
57+ description : Path to the Dockerfile inside the context specified by parameter
58+ path-context
5659 name : dockerfile
5760 type : string
58- - default : " false"
59- description : Force rebuild image
60- name : rebuild
61- type : string
6261 - default : " false"
6362 description : Skip checks against built image
6463 name : skip-checks
@@ -72,17 +71,22 @@ spec:
7271 name : prefetch-input
7372 type : string
7473 - default : " "
75- description : Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
74+ description : Image tag expiration time, time values could be something like 1h,
75+ 2d, 3w for hours, days, and weeks, respectively.
7676 name : image-expires-after
7777 type : string
7878 - default : " true"
7979 description : Add built image into an OCI image index
8080 name : build-image-index
8181 type : string
8282 - default : docker
83- description : The format for the resulting image's mediaType. Valid values are oci or docker.
83+ description : The format for the resulting image's mediaType. Valid values are
84+ oci or docker.
8485 name : buildah-format
8586 type : string
87+ - default : " false"
88+ description : Enable cache proxy configuration
89+ name : enable-cache-proxy
8690 - default : []
8791 description : Array of --build-arg values ("arg=value" strings) for buildah
8892 name : build-args
@@ -92,13 +96,10 @@ spec:
9296 name : build-args-file
9397 type : string
9498 - default : " false"
95- description : Whether to enable privileged mode, should be used only with remote VMs
99+ description : Whether to enable privileged mode, should be used only with remote
100+ VMs
96101 name : privileged-nested
97102 type : string
98- - name : enable-cache-proxy
99- default : ' false'
100- description : Enable cache proxy configuration
101- type : string
102103 results :
103104 - description : " "
104105 name : IMAGE_URL
@@ -190,12 +191,6 @@ spec:
190191 resolver : bundles
191192 - name : init
192193 params :
193- - name : image-url
194- value : $(params.output-image)
195- - name : rebuild
196- value : $(params.rebuild)
197- - name : skip-checks
198- value : $(params.skip-checks)
199194 - name : enable-cache-proxy
200195 value : $(params.enable-cache-proxy)
201196 taskRef :
@@ -228,11 +223,6 @@ spec:
228223 - name : kind
229224 value : task
230225 resolver : bundles
231- when :
232- - input : $(tasks.init.results.build)
233- operator : in
234- values :
235- - " true"
236226 workspaces :
237227 - name : basic-auth
238228 workspace : git-auth
@@ -268,16 +258,16 @@ spec:
268258 value : $(tasks.clone-repository.results.url)
269259 - name : BUILDAH_FORMAT
270260 value : $(params.buildah-format)
261+ - name : HTTP_PROXY
262+ value : $(tasks.init.results.http-proxy)
263+ - name : NO_PROXY
264+ value : $(tasks.init.results.no-proxy)
271265 - name : SOURCE_ARTIFACT
272266 value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
273267 - name : CACHI2_ARTIFACT
274268 value : $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
275269 - name : IMAGE_APPEND_PLATFORM
276270 value : " true"
277- - name : HTTP_PROXY
278- value : $(tasks.init.results.http-proxy)
279- - name : NO_PROXY
280- value : $(tasks.init.results.no-proxy)
281271 runAfter :
282272 - prefetch-dependencies
283273 taskRef :
@@ -289,19 +279,10 @@ spec:
289279 - name : kind
290280 value : task
291281 resolver : bundles
292- when :
293- - input : $(tasks.init.results.build)
294- operator : in
295- values :
296- - " true"
297282 - name : build-image-index
298283 params :
299284 - name : IMAGE
300285 value : $(params.output-image)
301- - name : COMMIT_SHA
302- value : $(tasks.clone-repository.results.commit)
303- - name : IMAGE_EXPIRES_AFTER
304- value : $(params.image-expires-after)
305286 - name : ALWAYS_BUILD_INDEX
306287 value : $(params.build-image-index)
307288 - name : IMAGES
@@ -320,11 +301,6 @@ spec:
320301 - name : kind
321302 value : task
322303 resolver : bundles
323- when :
324- - input : $(tasks.init.results.build)
325- operator : in
326- values :
327- - " true"
328304 - name : build-source-image
329305 params :
330306 - name : BINARY_IMAGE
@@ -347,10 +323,6 @@ spec:
347323 value : task
348324 resolver : bundles
349325 when :
350- - input : $(tasks.init.results.build)
351- operator : in
352- values :
353- - " true"
354326 - input : $(params.build-source-image)
355327 operator : in
356328 values :
0 commit comments