Skip to content

Commit 149548c

Browse files
Pradnya-Chikhalerakshithakamath94
authored andcommitted
keepalived: adding konflux confg for 6.1
1 parent 1c74e98 commit 149548c

File tree

5 files changed

+8327
-72
lines changed

5 files changed

+8327
-72
lines changed

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

Lines changed: 61 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ 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"
13-
creationTimestamp: null
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-6.1"
12+
creationTimestamp:
1413
labels:
1514
appstudio.openshift.io/application: ceph-6-1
1615
appstudio.openshift.io/component: keepalived-6-1
@@ -24,12 +23,15 @@ spec:
2423
- name: revision
2524
value: '{{revision}}'
2625
- name: output-image
27-
value: quay.io/rhceph-dev/keepalived:on-pr-{{revision}}
26+
value: quay.io/rhceph-ci/keepalived:on-pr-v6.1-{{revision}}
2827
- name: image-expires-after
2928
value: 5d
3029
- name: build-platforms
3130
value:
3231
- linux/x86_64
32+
- linux/arm64
33+
- linux/s390x
34+
- linux/ppc64le
3335
- name: dockerfile
3436
value: Dockerfile
3537
- name: path-context
@@ -50,7 +52,7 @@ spec:
5052
- name: name
5153
value: show-sbom
5254
- name: bundle
53-
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:1b1df4da95966d08ac6a5b8198710e09e68b5c2cdc707c37d9d19769e65884b2
55+
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:beb0616db051952b4b861dd8c3e00fa1c0eccbd926feddf71194d3bb3ace9ce7
5456
- name: kind
5557
value: task
5658
resolver: bundles
@@ -66,13 +68,11 @@ spec:
6668
name: output-image
6769
type: string
6870
- default: .
69-
description: Path to the source code of an application's component from where
70-
to build image.
71+
description: Path to the source code of an application's component from where to build image.
7172
name: path-context
7273
type: string
7374
- default: Dockerfile
74-
description: Path to the Dockerfile inside the context specified by parameter
75-
path-context
75+
description: Path to the Dockerfile inside the context specified by parameter path-context
7676
name: dockerfile
7777
type: string
7878
- default: "false"
@@ -83,20 +83,19 @@ spec:
8383
description: Skip checks against built image
8484
name: skip-checks
8585
type: string
86-
- default: "false"
86+
- default: "true"
8787
description: Execute the build with network isolation
8888
name: hermetic
8989
type: string
90-
- default: ""
90+
- default: '{"type": "rpm", "path": "."}'
9191
description: Build dependencies to be prefetched by Cachi2
9292
name: prefetch-input
9393
type: string
9494
- default: ""
95-
description: Image tag expiration time, time values could be something like
96-
1h, 2d, 3w for hours, days, and weeks, respectively.
95+
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
9796
name: image-expires-after
9897
type: string
99-
- default: "false"
98+
- default: "true"
10099
description: Build a source image.
101100
name: build-source-image
102101
type: string
@@ -113,16 +112,18 @@ spec:
113112
name: build-args-file
114113
type: string
115114
- default: "false"
116-
description: Whether to enable privileged mode, should be used only with remote
117-
VMs
115+
description: Whether to enable privileged mode, should be used only with remote VMs
118116
name: privileged-nested
119117
type: string
120118
- default:
121119
- linux/x86_64
122-
description: List of platforms to build the container images on. The available
123-
set of values is determined by the configuration of the multi-platform-controller.
120+
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.
124121
name: build-platforms
125122
type: array
123+
- name: buildah-format
124+
default: docker
125+
type: string
126+
description: The format for the resulting image's mediaType. Valid values are oci or docker.
126127
results:
127128
- description: ""
128129
name: IMAGE_URL
@@ -150,7 +151,7 @@ spec:
150151
- name: name
151152
value: init
152153
- name: bundle
153-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:66e90d31e1386bf516fb548cd3e3f0082b5d0234b8b90dbf9e0d4684b70dbe1a
154+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:bbf313b09740fb39b3343bc69ee94b2a2c21d16a9304f9b7c111c305558fc346
154155
- name: kind
155156
value: task
156157
resolver: bundles
@@ -171,7 +172,7 @@ spec:
171172
- name: name
172173
value: git-clone-oci-ta
173174
- name: bundle
174-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:d35e5d501cb5f5f88369511f76249857cb5ac30250e1dcf086939321964ff6b9
175+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:3a920a83fc0135aaae2730fe9d446eb2da2ffc9d63a34bceea04afd24653bdee
175176
- name: kind
176177
value: task
177178
resolver: bundles
@@ -200,7 +201,7 @@ spec:
200201
- name: name
201202
value: prefetch-dependencies-oci-ta
202203
- name: bundle
203-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:f10a4841e6f75fbb314b1d8cbf14f652499c1fe7f59e59aed59f7431c680aa17
204+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:970285e3b0495961199523b566e0dd92ec2e29bedbcf61d8fc67106b06d0f923
204205
- name: kind
205206
value: task
206207
resolver: bundles
@@ -243,14 +244,16 @@ spec:
243244
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
244245
- name: IMAGE_APPEND_PLATFORM
245246
value: "true"
247+
- name: BUILDAH_FORMAT
248+
value: $(params.buildah-format)
246249
runAfter:
247250
- prefetch-dependencies
248251
taskRef:
249252
params:
250253
- name: name
251254
value: buildah-remote-oci-ta
252255
- name: bundle
253-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:5b8d51fa889cdac873750904c3fccc0cca1c4f65af16902ebb2b573151f80657
256+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.6@sha256:ac05dabe8b6b446f974cf2b6ef1079cfaa9443d7078c2ebe3ec79aa650e1b5b2
254257
- name: kind
255258
value: task
256259
resolver: bundles
@@ -272,14 +275,16 @@ spec:
272275
- name: IMAGES
273276
value:
274277
- $(tasks.build-images.results.IMAGE_REF[*])
278+
- name: BUILDAH_FORMAT
279+
value: $(params.buildah-format)
275280
runAfter:
276281
- build-images
277282
taskRef:
278283
params:
279284
- name: name
280285
value: build-image-index
281286
- name: bundle
282-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:846dc9975914f31380ec2712fdbac9df3b06c00a9cc7df678315a7f97145efc2
287+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:79784d53749584bc5a8de32142ec4e2f01cdbf42c20d94e59280e0b927c8597d
283288
- name: kind
284289
value: task
285290
resolver: bundles
@@ -305,7 +310,7 @@ spec:
305310
- name: name
306311
value: source-build-oci-ta
307312
- name: bundle
308-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
313+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:2a290f91fdccf4c9ef726a1605163bc14904e1dbf9837ac6d2621caddd10f98e
309314
- name: kind
310315
value: task
311316
resolver: bundles
@@ -331,7 +336,7 @@ spec:
331336
- name: name
332337
value: deprecated-image-check
333338
- name: bundle
334-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:3c8b81fa868e27c6266e7660a4bfb4c822846dcf4304606e71e20893b0d3e515
339+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:f59175d9a0a60411738228dfe568af4684af4aa5e7e05c832927cb917801d489
335340
- name: kind
336341
value: task
337342
resolver: bundles
@@ -340,7 +345,12 @@ spec:
340345
operator: in
341346
values:
342347
- "false"
343-
- name: clair-scan
348+
- matrix:
349+
params:
350+
- name: image-platform
351+
value:
352+
- $(params.build-platforms)
353+
name: clair-scan
344354
params:
345355
- name: image-digest
346356
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
@@ -353,7 +363,7 @@ spec:
353363
- name: name
354364
value: clair-scan
355365
- name: bundle
356-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:d354939892f3a904223ec080cc3771bd11931085a5d202323ea491ee8e8c5e43
366+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.3@sha256:a7cc183967f89c4ac100d04ab8f81e54733beee60a0528208107c9a22d3c43af
357367
- name: kind
358368
value: task
359369
resolver: bundles
@@ -373,7 +383,7 @@ spec:
373383
- name: name
374384
value: ecosystem-cert-preflight-checks
375385
- name: bundle
376-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:abbe195626eec925288df6425679559025d1be4af5ae70ca6dbbcb49ad3bf08b
386+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:9568c51a5158d534248908b9b561cf67d2826ed4ea164ffd95628bb42380e6ec
377387
- name: kind
378388
value: task
379389
resolver: bundles
@@ -382,6 +392,11 @@ spec:
382392
operator: in
383393
values:
384394
- "false"
395+
matrix:
396+
params:
397+
- name: platform
398+
value:
399+
- $(params.build-platforms)
385400
- name: sast-snyk-check
386401
params:
387402
- name: image-digest
@@ -399,7 +414,7 @@ spec:
399414
- name: name
400415
value: sast-snyk-check-oci-ta
401416
- name: bundle
402-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:e61f541189b30d14292ef8df36ccaf13f7feb2378fed5f74cb6293b3e79eb687
417+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:181d63c126e3119a9d57b8feed4eb66a875b5208c3e90724c22758e65dca8733
403418
- name: kind
404419
value: task
405420
resolver: bundles
@@ -421,7 +436,7 @@ spec:
421436
- name: name
422437
value: clamav-scan
423438
- name: bundle
424-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:9cab95ac9e833d77a63c079893258b73b8d5a298d93aaf9bdd6722471bc2f338
439+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:b0bd59748cda4a7abf311e4f448e6c1d00c6b6d8c0ecc1c2eb33e08dc0e0b802
425440
- name: kind
426441
value: task
427442
resolver: bundles
@@ -430,6 +445,11 @@ spec:
430445
operator: in
431446
values:
432447
- "false"
448+
matrix:
449+
params:
450+
- name: image-arch
451+
value:
452+
- $(params.build-platforms)
433453
- name: sast-coverity-check
434454
params:
435455
- name: image-digest
@@ -466,7 +486,7 @@ spec:
466486
- name: name
467487
value: sast-coverity-check-oci-ta
468488
- name: bundle
469-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:c926568ce63e4f63e18bb6a4178caca2e8192f6e3b830bbcd354e6485d29458c
489+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:cdbe1a968676e4f5519b082bf1e27a4cdcf66dd60af66dbc26b3e604f957f7e9
470490
- name: kind
471491
value: task
472492
resolver: bundles
@@ -513,7 +533,7 @@ spec:
513533
- name: name
514534
value: sast-shell-check-oci-ta
515535
- name: bundle
516-
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:808bcaf75271db6a999f53fdefb973a385add94a277d37fbd3df68f8ac7dfaa3
536+
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:bf7bdde00b7212f730c1356672290af6f38d070da2c8a316987b5c32fd49e0b9
517537
- name: kind
518538
value: task
519539
resolver: bundles
@@ -554,14 +574,19 @@ spec:
554574
value: $(tasks.build-image-index.results.IMAGE_URL)
555575
- name: IMAGE_DIGEST
556576
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
577+
- name: ADDITIONAL_TAGS
578+
value:
579+
- "pull-request-{{pull_request_number}}"
580+
- "from-branch-{{source_branch}}"
581+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
557582
runAfter:
558583
- build-image-index
559584
taskRef:
560585
params:
561586
- name: name
562587
value: apply-tags
563588
- name: bundle
564-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
589+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:f44be1bf0262471f2f503f5e19da5f0628dcaf968c86272a2ad6b4871e708448
565590
- name: kind
566591
value: task
567592
resolver: bundles
@@ -584,7 +609,7 @@ spec:
584609
- name: name
585610
value: push-dockerfile-oci-ta
586611
- name: bundle
587-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:5d8013b6a27bbc5e4ff261144616268f28417ed0950d583ef36349fcd59d3d3d
612+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:14fba04580b236e4206a904b86ee2fd8eeaa4163f7619a9c2602d361e4f74c51
588613
- name: kind
589614
value: task
590615
resolver: bundles
@@ -601,7 +626,7 @@ spec:
601626
- name: name
602627
value: rpms-signature-scan
603628
- name: bundle
604-
value: quay.io/konflux-ci/konflux-vanguard/task-rpms-signature-scan:0.2@sha256:7d1c087d7d33dd97effb3b4c9f3788e4c3138da2032040d69da6929e9a3aaceb
629+
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:1b6c20ab3dbfb0972803d3ebcb2fa72642e59400c77bd66dfd82028bdd09e120
605630
- name: kind
606631
value: task
607632
resolver: bundles
@@ -621,4 +646,4 @@ spec:
621646
- name: git-auth
622647
secret:
623648
secretName: '{{ git_auth_secret }}'
624-
status: {}
649+
status: {}

0 commit comments

Comments
 (0)