@@ -10,7 +10,7 @@ metadata:
10
10
pipelinesascode.tekton.dev/max-keep-runs : " 3"
11
11
pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch
12
12
== "main" && ( "./catalogs/v4.20/***".pathChanged() || ".tekton/cert-manager-operator-index-4-20-pull-request.yaml".pathChanged()
13
- || "Containerfile".pathChanged() )
13
+ )
14
14
creationTimestamp : null
15
15
labels :
16
16
appstudio.openshift.io/application : cert-manager-operator-index-4-20
@@ -28,376 +28,14 @@ spec:
28
28
value : quay.io/redhat-user-workloads/cert-manager-oape-tenant/cert-manager-operator-4-20/cert-manager-operator-index-4-20:on-pr-{{revision}}
29
29
- name : image-expires-after
30
30
value : 5d
31
- - name : build-platforms
32
- value :
33
- - linux/x86_64
34
31
- name : dockerfile
35
32
value : Containerfile
36
33
- name : path-context
37
34
value : catalogs/v4.20
38
- pipelineSpec :
39
- description : |
40
- This pipeline is ideal for building and verifying [file-based catalogs](https://konflux-ci.dev/docs/end-to-end/building-olm/#building-the-file-based-catalog).
41
-
42
- _Uses `buildah` to create a container image. Its build-time tests are limited to verifying the included catalog and do not scan the image.
43
- This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-fbc-builder?tab=tags)_
44
- finally :
45
- - name : show-sbom
46
- params :
47
- - name : IMAGE_URL
48
- value : $(tasks.build-image-index.results.IMAGE_URL)
49
- taskRef :
50
- params :
51
- - name : name
52
- value : show-sbom
53
- - name : bundle
54
- value : quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:86c069cac0a669797e8049faa8aa4088e70ff7fcd579d5bdc37626a9e0488a05
55
- - name : kind
56
- value : task
57
- resolver : bundles
58
- params :
59
- - description : Source Repository URL
60
- name : git-url
61
- type : string
62
- - default : " "
63
- description : Revision of the Source Repository
64
- name : revision
65
- type : string
66
- - description : Fully Qualified Output Image
67
- name : output-image
68
- type : string
69
- - default : .
70
- description : Path to the source code of an application's component from where
71
- to build image.
72
- name : path-context
73
- type : string
74
- - default : Dockerfile
75
- description : Path to the Dockerfile inside the context specified by parameter
76
- path-context
77
- name : dockerfile
78
- type : string
79
- - default : " false"
80
- description : Force rebuild image
81
- name : rebuild
82
- type : string
83
- - default : " false"
84
- description : Skip checks against built image
85
- name : skip-checks
86
- type : string
87
- - default : " true"
88
- description : Execute the build with network isolation
89
- name : hermetic
90
- type : string
91
- - default : " "
92
- description : Build dependencies to be prefetched by Cachi2
93
- name : prefetch-input
94
- type : string
95
- - default : " "
96
- description : Image tag expiration time, time values could be something like
97
- 1h, 2d, 3w for hours, days, and weeks, respectively.
98
- name : image-expires-after
99
- type : string
100
- - default : " false"
101
- description : Build a source image.
102
- name : build-source-image
103
- type : string
104
- - default : " true"
105
- description : Add built image into an OCI image index
106
- name : build-image-index
107
- type : string
108
- - default : []
109
- description : Array of --build-arg values ("arg=value" strings) for buildah
110
- name : build-args
111
- type : array
112
- - default : " "
113
- description : Path to a file with build arguments for buildah, see https://www.mankier.com/1/buildah-build#--build-arg-file
114
- name : build-args-file
115
- type : string
116
- - default :
117
- - linux/x86_64
118
- description : List of platforms to build the container images on. The available
119
- set of values is determined by the configuration of the multi-platform-controller.
120
- name : build-platforms
121
- type : array
122
- results :
123
- - description : " "
124
- name : IMAGE_URL
125
- value : $(tasks.build-image-index.results.IMAGE_URL)
126
- - description : " "
127
- name : IMAGE_DIGEST
128
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
129
- - description : " "
130
- name : CHAINS-GIT_URL
131
- value : $(tasks.clone-repository.results.url)
132
- - description : " "
133
- name : CHAINS-GIT_COMMIT
134
- value : $(tasks.clone-repository.results.commit)
135
- tasks :
136
- - name : init
137
- params :
138
- - name : image-url
139
- value : $(params.output-image)
140
- - name : rebuild
141
- value : $(params.rebuild)
142
- - name : skip-checks
143
- value : $(params.skip-checks)
144
- taskRef :
145
- params :
146
- - name : name
147
- value : init
148
- - name : bundle
149
- value : quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:1d8221c84f91b923d89de50bf16481ea729e3b68ea04a9a7cbe8485ddbb27ee6
150
- - name : kind
151
- value : task
152
- resolver : bundles
153
- - name : clone-repository
154
- params :
155
- - name : url
156
- value : $(params.git-url)
157
- - name : revision
158
- value : $(params.revision)
159
- - name : ociStorage
160
- value : $(params.output-image).git
161
- - name : ociArtifactExpiresAfter
162
- value : $(params.image-expires-after)
163
- runAfter :
164
- - init
165
- taskRef :
166
- params :
167
- - name : name
168
- value : git-clone-oci-ta
169
- - name : bundle
170
- value : quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:d35e5d501cb5f5f88369511f76249857cb5ac30250e1dcf086939321964ff6b9
171
- - name : kind
172
- value : task
173
- resolver : bundles
174
- when :
175
- - input : $(tasks.init.results.build)
176
- operator : in
177
- values :
178
- - " true"
179
- workspaces :
180
- - name : basic-auth
181
- workspace : git-auth
182
- - name : prefetch-dependencies
183
- params :
184
- - name : input
185
- value : $(params.prefetch-input)
186
- - name : SOURCE_ARTIFACT
187
- value : $(tasks.clone-repository.results.SOURCE_ARTIFACT)
188
- - name : ociStorage
189
- value : $(params.output-image).prefetch
190
- - name : ociArtifactExpiresAfter
191
- value : $(params.image-expires-after)
192
- runAfter :
193
- - clone-repository
194
- taskRef :
195
- params :
196
- - name : name
197
- value : prefetch-dependencies-oci-ta
198
- - name : bundle
199
- value : quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:092491ac0f6e1009d10c58a1319d1029371bf637cc1293cceba53c6da5314ed1
200
- - name : kind
201
- value : task
202
- resolver : bundles
203
- workspaces :
204
- - name : git-basic-auth
205
- workspace : git-auth
206
- - name : netrc
207
- workspace : netrc
208
- - matrix :
209
- params :
210
- - name : PLATFORM
211
- value :
212
- - $(params.build-platforms)
213
- name : build-images
214
- params :
215
- - name : IMAGE
216
- value : $(params.output-image)
217
- - name : DOCKERFILE
218
- value : $(params.dockerfile)
219
- - name : CONTEXT
220
- value : $(params.path-context)
221
- - name : HERMETIC
222
- value : $(params.hermetic)
223
- - name : PREFETCH_INPUT
224
- value : $(params.prefetch-input)
225
- - name : IMAGE_EXPIRES_AFTER
226
- value : $(params.image-expires-after)
227
- - name : COMMIT_SHA
228
- value : $(tasks.clone-repository.results.commit)
229
- - name : BUILD_ARGS
230
- value :
231
- - $(params.build-args[*])
232
- - name : BUILD_ARGS_FILE
233
- value : $(params.build-args-file)
234
- - name : SOURCE_ARTIFACT
235
- value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
236
- - name : CACHI2_ARTIFACT
237
- value : $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
238
- - name : IMAGE_APPEND_PLATFORM
239
- value : " true"
240
- runAfter :
241
- - clone-repository
242
- taskRef :
243
- params :
244
- - name : name
245
- value : buildah-remote-oci-ta
246
- - name : bundle
247
- value : quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:9e866d4d0489a6ab84ae263db416c9f86d2d6117ef4444f495a0e97388ae3ac0
248
- - name : kind
249
- value : task
250
- resolver : bundles
251
- when :
252
- - input : $(tasks.init.results.build)
253
- operator : in
254
- values :
255
- - " true"
256
- - name : build-image-index
257
- params :
258
- - name : IMAGE
259
- value : $(params.output-image)
260
- - name : COMMIT_SHA
261
- value : $(tasks.clone-repository.results.commit)
262
- - name : IMAGE_EXPIRES_AFTER
263
- value : $(params.image-expires-after)
264
- - name : ALWAYS_BUILD_INDEX
265
- value : $(params.build-image-index)
266
- - name : IMAGES
267
- value :
268
- - $(tasks.build-images.results.IMAGE_REF[*])
269
- runAfter :
270
- - build-images
271
- taskRef :
272
- params :
273
- - name : name
274
- value : build-image-index
275
- - name : bundle
276
- value : quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3499772af90aad0d3935629be6d37dd9292195fb629e6f43ec839c7f545a0faa
277
- - name : kind
278
- value : task
279
- resolver : bundles
280
- when :
281
- - input : $(tasks.init.results.build)
282
- operator : in
283
- values :
284
- - " true"
285
- - name : deprecated-base-image-check
286
- params :
287
- - name : IMAGE_URL
288
- value : $(tasks.build-image-index.results.IMAGE_URL)
289
- - name : IMAGE_DIGEST
290
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
291
- runAfter :
292
- - build-image-index
293
- taskRef :
294
- params :
295
- - name : name
296
- value : deprecated-image-check
297
- - name : bundle
298
- value : quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:3c8b81fa868e27c6266e7660a4bfb4c822846dcf4304606e71e20893b0d3e515
299
- - name : kind
300
- value : task
301
- resolver : bundles
302
- when :
303
- - input : $(params.skip-checks)
304
- operator : in
305
- values :
306
- - " false"
307
- - name : apply-tags
308
- params :
309
- - name : IMAGE_URL
310
- value : $(tasks.build-image-index.results.IMAGE_URL)
311
- - name : IMAGE_DIGEST
312
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
313
- runAfter :
314
- - build-image-index
315
- taskRef :
316
- params :
317
- - name : name
318
- value : apply-tags
319
- - name : bundle
320
- value : quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
321
- - name : kind
322
- value : task
323
- resolver : bundles
324
- - name : validate-fbc
325
- params :
326
- - name : IMAGE_URL
327
- value : $(tasks.build-image-index.results.IMAGE_URL)
328
- - name : IMAGE_DIGEST
329
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
330
- runAfter :
331
- - build-image-index
332
- taskRef :
333
- params :
334
- - name : name
335
- value : validate-fbc
336
- - name : bundle
337
- value : quay.io/konflux-ci/tekton-catalog/task-validate-fbc:0.1@sha256:5ad28ce898a5b4bcaaf3b17d80f30fb377e7229f43219076bb2579c52e241bdb
338
- - name : kind
339
- value : task
340
- resolver : bundles
341
- when :
342
- - input : $(params.skip-checks)
343
- operator : in
344
- values :
345
- - " false"
346
- - name : fbc-target-index-pruning-check
347
- params :
348
- - name : IMAGE_URL
349
- value : $(tasks.build-image-index.results.IMAGE_URL)
350
- - name : IMAGE_DIGEST
351
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
352
- - name : TARGET_INDEX
353
- value : registry.redhat.io/redhat/redhat-operator-index
354
- - name : RENDERED_CATALOG_DIGEST
355
- value : $(tasks.validate-fbc.results.RENDERED_CATALOG_DIGEST)
356
- runAfter :
357
- - validate-fbc
358
- taskRef :
359
- params :
360
- - name : name
361
- value : fbc-target-index-pruning-check
362
- - name : bundle
363
- value : quay.io/konflux-ci/tekton-catalog/task-fbc-target-index-pruning-check:0.1@sha256:6f1d1edb746a7b20ad4fe523344c5515a259403b8314f5208d96ea0c6ec06169
364
- - name : kind
365
- value : task
366
- resolver : bundles
367
- when :
368
- - input : $(params.skip-checks)
369
- operator : in
370
- values :
371
- - " false"
372
- - name : fbc-fips-check-oci-ta
373
- params :
374
- - name : image-digest
375
- value : $(tasks.build-image-index.results.IMAGE_DIGEST)
376
- - name : image-url
377
- value : $(tasks.build-image-index.results.IMAGE_URL)
378
- - name : SOURCE_ARTIFACT
379
- value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
380
- runAfter :
381
- - build-image-index
382
- taskRef :
383
- params :
384
- - name : name
385
- value : fbc-fips-check-oci-ta
386
- - name : bundle
387
- value : quay.io/konflux-ci/tekton-catalog/task-fbc-fips-check-oci-ta:0.1@sha256:855f31f249e685d24e9e32916b5cd047dbd9ebf6a3a20cda97d27e4dd38f8cc3
388
- - name : kind
389
- value : task
390
- resolver : bundles
391
- when :
392
- - input : $(params.skip-checks)
393
- operator : in
394
- values :
395
- - " false"
396
- workspaces :
397
- - name : git-auth
398
- optional : true
399
- - name : netrc
400
- optional : true
35
+ - name : build-args
36
+ value : []
37
+ pipelineRef :
38
+ name : fbc-build-pipeline
401
39
taskRunTemplate :
402
40
serviceAccountName : build-pipeline-cert-manager-operator-index-4-20
403
41
workspaces :
0 commit comments