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