Skip to content

Commit 370886e

Browse files
chore(deps): update konflux references (#2265)
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com> Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
1 parent 38edf11 commit 370886e

File tree

1 file changed

+41
-67
lines changed

1 file changed

+41
-67
lines changed

.tekton/scanner-component-pipeline.yaml

Lines changed: 41 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ apiVersion: tekton.dev/v1
22
kind: Pipeline
33
metadata:
44
name: scanner-component-pipeline
5-
65
spec:
7-
86
finally:
97
- name: slack-notification
108
params:
@@ -13,10 +11,10 @@ spec:
1311
- name: key-name
1412
value: 'acs-konflux-notifications'
1513
when:
16-
# Run when any task has Failed
14+
# Run when any task has Failed
1715
- input: $(tasks.status)
1816
operator: in
19-
values: [ "Failed" ]
17+
values: ["Failed"]
2018
taskRef:
2119
params:
2220
- name: name
@@ -26,7 +24,6 @@ spec:
2624
- name: kind
2725
value: task
2826
resolver: bundles
29-
3027
- name: show-sbom
3128
params:
3229
- name: IMAGE_URL
@@ -40,7 +37,6 @@ spec:
4037
- name: kind
4138
value: task
4239
resolver: bundles
43-
4440
- name: post-metric-end
4541
params:
4642
- name: AGGREGATE_TASKS_STATUS
@@ -54,7 +50,6 @@ spec:
5450
- name: kind
5551
value: task
5652
resolver: bundles
57-
5853
params:
5954
- description: Source Repository URL
6055
name: git-url
@@ -79,13 +74,11 @@ spec:
7974
name: output-tag-suffix
8075
type: string
8176
- default: .
82-
description: Path to the source code of an application's component from where
83-
to build image.
77+
description: Path to the source code of an application's component from where to build image.
8478
name: path-context
8579
type: string
8680
- default: Dockerfile
87-
description: Path to the Dockerfile inside the context specified by parameter
88-
path-context
81+
description: Path to the Dockerfile inside the context specified by parameter path-context
8982
name: dockerfile
9083
type: string
9184
- default: "false"
@@ -104,8 +97,7 @@ spec:
10497
description: Build dependencies to be prefetched by Cachi2
10598
name: prefetch-input
10699
type: string
107-
- description: Image tag expiration time, time values could be something like
108-
1h, 2d, 3w for hours, days, and weeks, respectively.
100+
- description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
109101
name: image-expires-after
110102
type: string
111103
- default: "true"
@@ -116,15 +108,18 @@ spec:
116108
description: Build stage to target in container build
117109
name: build-target-stage
118110
type: string
119-
- default: [ ]
111+
- default: []
120112
description: List of scanner-data file names to fetch to include in the container build.
121113
name: blobs-to-fetch
122114
type: array
123115
- default: "1d"
124116
description: This sets the expiration time for intermediate OCI artifacts produced and used during builds after which they can be garbage collected.
125117
name: oci-artifact-expires-after
126118
type: string
127-
119+
- name: buildah-format
120+
default: docker
121+
type: string
122+
description: The format for the resulting image's mediaType. Valid values are oci or docker.
128123
results:
129124
- description: ""
130125
name: IMAGE_URL
@@ -138,21 +133,17 @@ spec:
138133
- description: ""
139134
name: CHAINS-GIT_COMMIT
140135
value: $(tasks.clone-repository.results.commit)
141-
142136
workspaces:
143137
- name: git-auth
144-
145138
tasks:
146-
147139
- name: post-metric-start
148140
taskRef: *post-bigquery-metrics-ref
149-
150141
- name: init
151142
params:
152143
- name: image-url
153-
# We can't provide a StackRox-style tag because it is not known at this time (requires cloning source, etc.)
154-
# As a workaround, we still provide a unique tag that's based on a revision in order for this task to comply with
155-
# its expected input. We later actually add this tag on a built image with the apply-index-image-tag task.
144+
# We can't provide a StackRox-style tag because it is not known at this time (requires cloning source, etc.)
145+
# As a workaround, we still provide a unique tag that's based on a revision in order for this task to comply with
146+
# its expected input. We later actually add this tag on a built image with the apply-index-image-tag task.
156147
value: $(params.output-image-repo):konflux-$(params.revision)
157148
- name: rebuild
158149
value: $(params.rebuild)
@@ -163,11 +154,10 @@ spec:
163154
- name: name
164155
value: init
165156
- name: bundle
166-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:ec962d0be18f36ca7d331c99bf243800f569fc0a2ea6f8c8c3d3a574b71c44dc
157+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:abf231cfc5a68b56f68a8ac9bb26dca3c3e434c88dd9627c72bdec0b8c335c67
167158
- name: kind
168159
value: task
169160
resolver: bundles
170-
171161
- name: clone-repository
172162
params:
173163
- name: url
@@ -194,11 +184,10 @@ spec:
194184
when:
195185
- input: $(tasks.init.results.build)
196186
operator: in
197-
values: [ "true" ]
187+
values: ["true"]
198188
workspaces:
199189
- name: basic-auth
200190
workspace: git-auth
201-
202191
- name: determine-image-expiration
203192
params:
204193
- name: DEFAULT_IMAGE_EXPIRES_AFTER
@@ -214,7 +203,6 @@ spec:
214203
- name: kind
215204
value: task
216205
resolver: bundles
217-
218206
- name: determine-image-tag
219207
params:
220208
- name: TAG_SUFFIX
@@ -230,11 +218,10 @@ spec:
230218
- name: kind
231219
value: task
232220
resolver: bundles
233-
234221
- name: fetch-scanner-data
235222
params:
236223
- name: BLOBS_TO_FETCH
237-
value: [ "$(params.blobs-to-fetch[*])" ]
224+
value: ["$(params.blobs-to-fetch[*])"]
238225
- name: TARGET_DIR
239226
value: .konflux/scanner-data
240227
- name: SOURCE_ARTIFACT
@@ -252,7 +239,6 @@ spec:
252239
- name: kind
253240
value: task
254241
resolver: bundles
255-
256242
- name: prefetch-dependencies
257243
params:
258244
- name: input
@@ -265,7 +251,7 @@ spec:
265251
value: $(params.oci-artifact-expires-after)
266252
- name: ACTIVATION_KEY
267253
value: subscription-manager-activation-key-prod
268-
# Required for RPM prefetching support
254+
# Required for RPM prefetching support
269255
- name: dev-package-managers
270256
value: "true"
271257
taskRef:
@@ -280,7 +266,6 @@ spec:
280266
workspaces:
281267
- name: git-basic-auth
282268
workspace: git-auth
283-
284269
- name: build-container-amd64
285270
params:
286271
- name: IMAGE
@@ -306,20 +291,21 @@ spec:
306291
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
307292
- name: CACHI2_ARTIFACT
308293
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
294+
- name: BUILDAH_FORMAT
295+
value: $(params.buildah-format)
309296
taskRef:
310297
params:
311298
- name: name
312299
value: buildah-oci-ta
313300
- name: bundle
314-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.5@sha256:fdd3f39c8ea97de0d77bcde160704dbd33fdcb9cd235836927bbb170aaefb80f
301+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.5@sha256:6ec006242975a17388bfe813e2afd0ae721dd013247580c0d988e3c4a9c7f867
315302
- name: kind
316303
value: task
317304
resolver: bundles
318305
when:
319306
- input: $(tasks.init.results.build)
320307
operator: in
321-
values: [ "true" ]
322-
308+
values: ["true"]
323309
- name: build-container-s390x
324310
params:
325311
- name: IMAGE
@@ -352,15 +338,14 @@ spec:
352338
- name: name
353339
value: buildah-remote-oci-ta
354340
- name: bundle
355-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:a60e433e02bfda6811719690edbf1e924820d107ad658c8a9690498d4c7e9c7b
341+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:650b0bca57c626c1e82f35cdfadf44a7792230b2b992aaa9c369d615aae6590d
356342
- name: kind
357343
value: task
358344
resolver: bundles
359345
when:
360346
- input: $(tasks.init.results.build)
361347
operator: in
362-
values: [ "true" ]
363-
348+
values: ["true"]
364349
- name: build-container-ppc64le
365350
params:
366351
- name: IMAGE
@@ -393,15 +378,14 @@ spec:
393378
- name: name
394379
value: buildah-remote-oci-ta
395380
- name: bundle
396-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:a60e433e02bfda6811719690edbf1e924820d107ad658c8a9690498d4c7e9c7b
381+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:650b0bca57c626c1e82f35cdfadf44a7792230b2b992aaa9c369d615aae6590d
397382
- name: kind
398383
value: task
399384
resolver: bundles
400385
when:
401386
- input: $(tasks.init.results.build)
402387
operator: in
403-
values: [ "true" ]
404-
388+
values: ["true"]
405389
- name: build-container-arm64
406390
params:
407391
- name: IMAGE
@@ -434,15 +418,14 @@ spec:
434418
- name: name
435419
value: buildah-remote-oci-ta
436420
- name: bundle
437-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:a60e433e02bfda6811719690edbf1e924820d107ad658c8a9690498d4c7e9c7b
421+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.5@sha256:650b0bca57c626c1e82f35cdfadf44a7792230b2b992aaa9c369d615aae6590d
438422
- name: kind
439423
value: task
440424
resolver: bundles
441425
when:
442426
- input: $(tasks.init.results.build)
443427
operator: in
444-
values: [ "true" ]
445-
428+
values: ["true"]
446429
- name: build-image-index
447430
params:
448431
- name: IMAGE
@@ -457,6 +440,8 @@ spec:
457440
- $(tasks.build-container-arm64.results.IMAGE_REF)
458441
- name: IMAGE_EXPIRES_AFTER
459442
value: $(tasks.determine-image-expiration.results.IMAGE_EXPIRES_AFTER)
443+
- name: BUILDAH_FORMAT
444+
value: $(params.buildah-format)
460445
taskRef:
461446
params:
462447
- name: name
@@ -469,8 +454,7 @@ spec:
469454
when:
470455
- input: $(tasks.init.results.build)
471456
operator: in
472-
values: [ "true" ]
473-
457+
values: ["true"]
474458
- name: apply-index-image-tag
475459
params:
476460
- name: IMAGE_URL
@@ -492,8 +476,7 @@ spec:
492476
when:
493477
- input: $(tasks.init.results.build)
494478
operator: in
495-
values: [ "true" ]
496-
479+
values: ["true"]
497480
- name: build-source-image
498481
params:
499482
- name: BINARY_IMAGE
@@ -516,11 +499,10 @@ spec:
516499
when:
517500
- input: $(tasks.init.results.build)
518501
operator: in
519-
values: [ "true" ]
502+
values: ["true"]
520503
- input: $(params.build-source-image)
521504
operator: in
522-
values: [ "true" ]
523-
505+
values: ["true"]
524506
- name: deprecated-base-image-check
525507
params:
526508
- name: IMAGE_URL
@@ -539,8 +521,7 @@ spec:
539521
when:
540522
- input: $(params.skip-checks)
541523
operator: in
542-
values: [ "false" ]
543-
524+
values: ["false"]
544525
- name: clair-scan
545526
params:
546527
- name: image-digest
@@ -559,8 +540,7 @@ spec:
559540
when:
560541
- input: $(params.skip-checks)
561542
operator: in
562-
values: [ "false" ]
563-
543+
values: ["false"]
564544
- name: ecosystem-cert-preflight-checks
565545
params:
566546
- name: image-url
@@ -577,8 +557,7 @@ spec:
577557
when:
578558
- input: $(params.skip-checks)
579559
operator: in
580-
values: [ "false" ]
581-
560+
values: ["false"]
582561
- name: sast-shell-check
583562
params:
584563
- name: image-digest
@@ -601,8 +580,7 @@ spec:
601580
when:
602581
- input: $(params.skip-checks)
603582
operator: in
604-
values: [ "false" ]
605-
583+
values: ["false"]
606584
- name: sast-unicode-check
607585
params:
608586
- name: image-digest
@@ -625,8 +603,7 @@ spec:
625603
when:
626604
- input: $(params.skip-checks)
627605
operator: in
628-
values: [ "false" ]
629-
606+
values: ["false"]
630607
- name: sast-snyk-check
631608
params:
632609
- name: SOURCE_ARTIFACT
@@ -649,8 +626,7 @@ spec:
649626
when:
650627
- input: $(params.skip-checks)
651628
operator: in
652-
values: [ "false" ]
653-
629+
values: ["false"]
654630
- name: clamav-scan
655631
params:
656632
- name: image-digest
@@ -669,8 +645,7 @@ spec:
669645
when:
670646
- input: $(params.skip-checks)
671647
operator: in
672-
values: [ "false" ]
673-
648+
values: ["false"]
674649
- name: rpms-signature-scan
675650
params:
676651
- name: image-digest
@@ -689,8 +664,7 @@ spec:
689664
when:
690665
- input: $(params.skip-checks)
691666
operator: in
692-
values: [ "false" ]
693-
667+
values: ["false"]
694668
- name: push-dockerfile
695669
params:
696670
- name: IMAGE

0 commit comments

Comments
 (0)