Skip to content

Commit 5ff09a0

Browse files
chroinfinityrakshithakamath94
authored andcommitted
konflux: setup and fix conforma violations
Signed-off-by: Hector Delgado <[email protected]>
1 parent 03bf84b commit 5ff09a0

File tree

7 files changed

+3920
-66
lines changed

7 files changed

+3920
-66
lines changed

.tekton/haproxy-6-1-pull-request.yaml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "release-6.1"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-6.1"
1312
creationTimestamp: null
1413
labels:
1514
appstudio.openshift.io/application: ceph-6-1
@@ -52,7 +51,7 @@ spec:
5251
- name: name
5352
value: show-sbom
5453
- name: bundle
55-
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:86c069cac0a669797e8049faa8aa4088e70ff7fcd579d5bdc37626a9e0488a05
54+
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:beb0616db051952b4b861dd8c3e00fa1c0eccbd926feddf71194d3bb3ace9ce7
5655
- name: kind
5756
value: task
5857
resolver: bundles
@@ -68,13 +67,11 @@ spec:
6867
name: output-image
6968
type: string
7069
- default: .
71-
description: Path to the source code of an application's component from where
72-
to build image.
70+
description: Path to the source code of an application's component from where to build image.
7371
name: path-context
7472
type: string
7573
- default: Dockerfile
76-
description: Path to the Dockerfile inside the context specified by parameter
77-
path-context
74+
description: Path to the Dockerfile inside the context specified by parameter path-context
7875
name: dockerfile
7976
type: string
8077
- default: "false"
@@ -85,20 +82,19 @@ spec:
8582
description: Skip checks against built image
8683
name: skip-checks
8784
type: string
88-
- default: "false"
85+
- default: "true"
8986
description: Execute the build with network isolation
9087
name: hermetic
9188
type: string
92-
- default: ""
89+
- default: '{"type": "rpm", "path": "."}'
9390
description: Build dependencies to be prefetched by Cachi2
9491
name: prefetch-input
9592
type: string
9693
- default: ""
97-
description: Image tag expiration time, time values could be something like
98-
1h, 2d, 3w for hours, days, and weeks, respectively.
94+
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
9995
name: image-expires-after
10096
type: string
101-
- default: "false"
97+
- default: "true"
10298
description: Build a source image.
10399
name: build-source-image
104100
type: string
@@ -115,16 +111,18 @@ spec:
115111
name: build-args-file
116112
type: string
117113
- default: "false"
118-
description: Whether to enable privileged mode, should be used only with remote
119-
VMs
114+
description: Whether to enable privileged mode, should be used only with remote VMs
120115
name: privileged-nested
121116
type: string
122117
- default:
123118
- linux/x86_64
124-
description: List of platforms to build the container images on. The available
125-
set of values is determined by the configuration of the multi-platform-controller.
119+
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.
126120
name: build-platforms
127121
type: array
122+
- name: buildah-format
123+
default: docker
124+
type: string
125+
description: The format for the resulting image's mediaType. Valid values are oci or docker.
128126
results:
129127
- description: ""
130128
name: IMAGE_URL
@@ -152,7 +150,7 @@ spec:
152150
- name: name
153151
value: init
154152
- name: bundle
155-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:1d8221c84f91b923d89de50bf16481ea729e3b68ea04a9a7cbe8485ddbb27ee6
153+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:3ca52e1d8885fc229bd9067275f44d5b21a9a609981d0324b525ddeca909bf10
156154
- name: kind
157155
value: task
158156
resolver: bundles
@@ -173,7 +171,7 @@ spec:
173171
- name: name
174172
value: git-clone-oci-ta
175173
- name: bundle
176-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:d35e5d501cb5f5f88369511f76249857cb5ac30250e1dcf086939321964ff6b9
174+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:bb2f8f1edec47faa08c1929f2ffc6748f3a96af9644e6c40000081c6ff3ec894
177175
- name: kind
178176
value: task
179177
resolver: bundles
@@ -202,7 +200,7 @@ spec:
202200
- name: name
203201
value: prefetch-dependencies-oci-ta
204202
- name: bundle
205-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:092491ac0f6e1009d10c58a1319d1029371bf637cc1293cceba53c6da5314ed1
203+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:0503f9313dfe70e4defda88a7226ec91a74af42198dccfa3280397d965aa16d6
206204
- name: kind
207205
value: task
208206
resolver: bundles
@@ -245,14 +243,16 @@ spec:
245243
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
246244
- name: IMAGE_APPEND_PLATFORM
247245
value: "true"
246+
- name: BUILDAH_FORMAT
247+
value: $(params.buildah-format)
248248
runAfter:
249249
- prefetch-dependencies
250250
taskRef:
251251
params:
252252
- name: name
253253
value: buildah-remote-oci-ta
254254
- name: bundle
255-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:9e866d4d0489a6ab84ae263db416c9f86d2d6117ef4444f495a0e97388ae3ac0
255+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.6@sha256:3832edaec1aae546c225c86ada53611e42717c784e2068e0536831a99cb1922d
256256
- name: kind
257257
value: task
258258
resolver: bundles
@@ -274,14 +274,16 @@ spec:
274274
- name: IMAGES
275275
value:
276276
- $(tasks.build-images.results.IMAGE_REF[*])
277+
- name: BUILDAH_FORMAT
278+
value: $(params.buildah-format)
277279
runAfter:
278280
- build-images
279281
taskRef:
280282
params:
281283
- name: name
282284
value: build-image-index
283285
- name: bundle
284-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3499772af90aad0d3935629be6d37dd9292195fb629e6f43ec839c7f545a0faa
286+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:d94cad7f41be61074dd21c7dff26dab9217c3435a16f62813c1cb8382dd9aae6
285287
- name: kind
286288
value: task
287289
resolver: bundles
@@ -307,7 +309,7 @@ spec:
307309
- name: name
308310
value: source-build-oci-ta
309311
- name: bundle
310-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
312+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:5f9069a07a6dc16aae7a05adf49d2b6792815f3fabd116377578860743f4e0ec
311313
- name: kind
312314
value: task
313315
resolver: bundles
@@ -333,7 +335,7 @@ spec:
333335
- name: name
334336
value: deprecated-image-check
335337
- name: bundle
336-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:3c8b81fa868e27c6266e7660a4bfb4c822846dcf4304606e71e20893b0d3e515
338+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:f59175d9a0a60411738228dfe568af4684af4aa5e7e05c832927cb917801d489
337339
- name: kind
338340
value: task
339341
resolver: bundles
@@ -355,7 +357,7 @@ spec:
355357
- name: name
356358
value: clair-scan
357359
- name: bundle
358-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:417f44117f8d87a4a62fea6589b5746612ac61640b454dbd88f74892380411f2
360+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.3@sha256:a7cc183967f89c4ac100d04ab8f81e54733beee60a0528208107c9a22d3c43af
359361
- name: kind
360362
value: task
361363
resolver: bundles
@@ -375,7 +377,7 @@ spec:
375377
- name: name
376378
value: ecosystem-cert-preflight-checks
377379
- name: bundle
378-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:f99d2bdb02f13223d494077a2cde31418d09369f33c02134a8e7e5fad2f61eda
380+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:9568c51a5158d534248908b9b561cf67d2826ed4ea164ffd95628bb42380e6ec
379381
- name: kind
380382
value: task
381383
resolver: bundles
@@ -401,7 +403,7 @@ spec:
401403
- name: name
402404
value: sast-snyk-check-oci-ta
403405
- name: bundle
404-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:fe5e5ba3a72632cd505910de2eacd62c9d11ed570c325173188f8d568ac60771
406+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:60f2dac41844d222086ff7f477e51f3563716b183d87db89f603d6f604c21760
405407
- name: kind
406408
value: task
407409
resolver: bundles
@@ -423,7 +425,7 @@ spec:
423425
- name: name
424426
value: clamav-scan
425427
- name: bundle
426-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:7749146f7e4fe530846f1b15c9366178ec9f44776ef1922a60d3e7e2b8c6426b
428+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:f3d2d179cddcc07d0228d9f52959a233037a3afa2619d0a8b2effbb467db80c3
427429
- name: kind
428430
value: task
429431
resolver: bundles
@@ -468,7 +470,7 @@ spec:
468470
- name: name
469471
value: sast-coverity-check-oci-ta
470472
- name: bundle
471-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:f9ca942208dc2e63b479384ccc56a611cc793397ecc837637b5b9f89c2ecbefe
473+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:ae62d14c999fd93246fef4e57d28570fa5200c3266b9a3263a39965e5a5b02d7
472474
- name: kind
473475
value: task
474476
resolver: bundles
@@ -489,7 +491,7 @@ spec:
489491
- name: name
490492
value: coverity-availability-check
491493
- name: bundle
492-
value: quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:db2b267dc15e4ed17f704ee91b8e9b38068e1a35b1018a328fdca621819d74c6
494+
value: quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:36bcf1531b85c2c7d7b4382bc0a9c61b0501e2e54e84991b11b225bdec0e5928
493495
- name: kind
494496
value: task
495497
resolver: bundles
@@ -515,7 +517,7 @@ spec:
515517
- name: name
516518
value: sast-shell-check-oci-ta
517519
- name: bundle
518-
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:bf7bdde00b7212f730c1356672290af6f38d070da2c8a316987b5c32fd49e0b9
520+
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:1f0fcba24ebc447d9f8a2ea2e8f262fa435d6c523ca6b0346cd67261551fc9ed
519521
- name: kind
520522
value: task
521523
resolver: bundles
@@ -541,7 +543,7 @@ spec:
541543
- name: name
542544
value: sast-unicode-check-oci-ta
543545
- name: bundle
544-
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.3@sha256:a2bde66f6b4164620298c7d709b8f08515409404000fa1dc2260d2508b135651
546+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.3@sha256:1833c618170ab9deb8455667f220df8e88d16ccd630a2361366f594e2bdcb712
545547
- name: kind
546548
value: task
547549
resolver: bundles
@@ -568,7 +570,7 @@ spec:
568570
- name: name
569571
value: apply-tags
570572
- name: bundle
571-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
573+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:f44be1bf0262471f2f503f5e19da5f0628dcaf968c86272a2ad6b4871e708448
572574
- name: kind
573575
value: task
574576
resolver: bundles
@@ -591,7 +593,7 @@ spec:
591593
- name: name
592594
value: push-dockerfile-oci-ta
593595
- name: bundle
594-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:8c75c4a747e635e5f3e12266a3bb6e5d3132bf54e37eaa53d505f89897dd8eca
596+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:738e6e2108bee5b50309a37b54bc1adf8433ac63598dbb6830d6cb4ac65d9de6
595597
- name: kind
596598
value: task
597599
resolver: bundles

0 commit comments

Comments
 (0)