Skip to content

Commit 0b16d00

Browse files
red-hat-konflux[bot]red-hat-konfluxclyang82
authored
Red Hat Konflux update postgres-exporter-globalhub-1-6 (#80)
* Red Hat Konflux update postgres-exporter-globalhub-1-6 Signed-off-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev> * Bump to 1.6 Signed-off-by: clyang82 <chuyang@redhat.com> --------- Signed-off-by: clyang82 <chuyang@redhat.com> Co-authored-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev> Co-authored-by: clyang82 <chuyang@redhat.com>
1 parent 7254237 commit 0b16d00

File tree

2 files changed

+76
-53
lines changed

2 files changed

+76
-53
lines changed

.tekton/postgres-exporter-globalhub-1-5-pull-request.yaml renamed to .tekton/postgres-exporter-globalhub-1-6-pull-request.yaml

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ metadata:
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
1111
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "release-2.14"
12+
== "release-2.15"
1313
creationTimestamp: null
1414
labels:
15-
appstudio.openshift.io/application: release-globalhub-1-5
16-
appstudio.openshift.io/component: postgres-exporter-globalhub-1-5
15+
appstudio.openshift.io/application: global-hub-1-6
16+
appstudio.openshift.io/component: postgres-exporter-globalhub-1-6
1717
pipelines.appstudio.openshift.io/type: build
18-
name: postgres-exporter-globalhub-1-5-on-pull-request
18+
name: postgres-exporter-globalhub-1-6-on-pull-request
1919
namespace: acm-multicluster-glo-tenant
2020
spec:
2121
params:
@@ -24,7 +24,7 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/postgres-exporter-globalhub-1-5:on-pr-{{revision}}
27+
value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/postgres-exporter-globalhub-1-6:on-pr-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -47,7 +47,7 @@ spec:
4747
description: |
4848
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
4949
50-
_Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://enterprisecontract.dev/docs/ec-policies/release_policy.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks.
50+
_Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://conforma.dev/docs/policy/packages/release_trusted_task.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks.
5151
This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build-multi-platform-oci-ta?tab=tags)_
5252
finally:
5353
- name: show-sbom
@@ -104,6 +104,7 @@ spec:
104104
description: Image tag expiration time, time values could be something like
105105
1h, 2d, 3w for hours, days, and weeks, respectively.
106106
name: image-expires-after
107+
type: string
107108
- default: "false"
108109
description: Build a source image.
109110
name: build-source-image
@@ -120,6 +121,11 @@ spec:
120121
description: Path to a file with build arguments for buildah, see https://www.mankier.com/1/buildah-build#--build-arg-file
121122
name: build-args-file
122123
type: string
124+
- default: "false"
125+
description: Whether to enable privileged mode, should be used only with remote
126+
VMs
127+
name: privileged-nested
128+
type: string
123129
- default:
124130
- linux/x86_64
125131
description: List of platforms to build the container images on. The available
@@ -174,7 +180,7 @@ spec:
174180
- name: name
175181
value: git-clone-oci-ta
176182
- name: bundle
177-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:8ecf57d5a6697ce709bee65b62781efe79a10b0c2b95e05576442b67fbd61744
183+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:0e512b12775b2bcc4eb47bb34b7a2db2e91c3ceef04b2f2487fa421032d8859a
178184
- name: kind
179185
value: task
180186
resolver: bundles
@@ -203,7 +209,7 @@ spec:
203209
- name: name
204210
value: prefetch-dependencies-oci-ta
205211
- name: bundle
206-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:1f6e2c9beba52d21c562ba1dea55f579f67e33b80099615bfd2043864896284d
212+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:d0cbc492da865be336d09926eb6e3494403dccaa4a212bbdf472d8adbf80ab08
207213
- name: kind
208214
value: task
209215
resolver: bundles
@@ -238,6 +244,8 @@ spec:
238244
- $(params.build-args[*])
239245
- name: BUILD_ARGS_FILE
240246
value: $(params.build-args-file)
247+
- name: PRIVILEGED_NESTED
248+
value: $(params.privileged-nested)
241249
- name: SOURCE_ARTIFACT
242250
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
243251
- name: CACHI2_ARTIFACT
@@ -251,7 +259,7 @@ spec:
251259
- name: name
252260
value: buildah-remote-oci-ta
253261
- name: bundle
254-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:cfeeef2f4ab25b121afdf44eecc394ed67f3534a1bd14bef9e7beef2ee654b8e
262+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:28d8a4f7c1ff6e8bb09d89b06c7c8769093ac7e9325ad9edfe7b2d766f643b87
255263
- name: kind
256264
value: task
257265
resolver: bundles
@@ -280,7 +288,7 @@ spec:
280288
- name: name
281289
value: build-image-index
282290
- name: bundle
283-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:9c95b1fe17db091ae364344ba2006af46648e08486eef1f6fe1b9e3f10866875
291+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3cf3dcc0bf7b674b940063b4d55e41fe7d43636a1d82572e3850228aa5350fa8
284292
- name: kind
285293
value: task
286294
resolver: bundles
@@ -304,7 +312,7 @@ spec:
304312
- name: name
305313
value: source-build-oci-ta
306314
- name: bundle
307-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.2@sha256:c5e56643c0f5e19409e86c8fd4de4348413b6f10456aa0875498d5c63bf6ef0e
315+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.2@sha256:f0784e8e0e396f40a6523693825b5966c3c615ba3d342350165e83cb72a24ef7
308316
- name: kind
309317
value: task
310318
resolver: bundles
@@ -330,7 +338,7 @@ spec:
330338
- name: name
331339
value: deprecated-image-check
332340
- name: bundle
333-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:ecd33669676b3a193ff4c2c6223cb912cc1b0cf5cc36e080eaec7718500272cf
341+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:270a79138a98e43c366d3722978cb5940d2bcb822ba6b60377330f863b7a1e62
334342
- name: kind
335343
value: task
336344
resolver: bundles
@@ -352,7 +360,7 @@ spec:
352360
- name: name
353361
value: clair-scan
354362
- name: bundle
355-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:68a8fe28527c4469243119a449e2b3a6655f2acac589c069ea6433242da8ed4d
363+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:d354939892f3a904223ec080cc3771bd11931085a5d202323ea491ee8e8c5e43
356364
- name: kind
357365
value: task
358366
resolver: bundles
@@ -372,7 +380,7 @@ spec:
372380
- name: name
373381
value: ecosystem-cert-preflight-checks
374382
- name: bundle
375-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:302828e9d7abc72b8a44fb2b9be068f86c982d8e5f4550b8bf654571d6361ee8
383+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:95ca11d147ee97d98f495477e9f42afe94ba3f869fc81c4e7b241ebd21e7395f
376384
- name: kind
377385
value: task
378386
resolver: bundles
@@ -398,7 +406,7 @@ spec:
398406
- name: name
399407
value: sast-snyk-check-oci-ta
400408
- name: bundle
401-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:9a6ec5575f80668552d861e64414e736c85af772c272ca653a6fd1ec841d2627
409+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:e61f541189b30d14292ef8df36ccaf13f7feb2378fed5f74cb6293b3e79eb687
402410
- name: kind
403411
value: task
404412
resolver: bundles
@@ -420,7 +428,7 @@ spec:
420428
- name: name
421429
value: clamav-scan
422430
- name: bundle
423-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:386c8c3395b44f6eb927dbad72382808b0ae42008f183064ca77cb4cad998442
431+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:9cab95ac9e833d77a63c079893258b73b8d5a298d93aaf9bdd6722471bc2f338
424432
- name: kind
425433
value: task
426434
resolver: bundles
@@ -465,7 +473,7 @@ spec:
465473
- name: name
466474
value: sast-coverity-check-oci-ta
467475
- name: bundle
468-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:7c845b10d257b874f645ea30deeff3c1ce2b38e7b6e331564f32c8684f41b520
476+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:dda889f85faa30eb18db4f195bc03428e8913afa14624552d2cb9f714c786dbf
469477
- name: kind
470478
value: task
471479
resolver: bundles
@@ -486,7 +494,7 @@ spec:
486494
- name: name
487495
value: coverity-availability-check
488496
- name: bundle
489-
value: quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:8b58c4fae00c0dfe3937abfb8a9a61aa3c408cca4278b817db53d518428d944e
497+
value: quay.io/konflux-ci/tekton-catalog/task-coverity-availability-check:0.2@sha256:db2b267dc15e4ed17f704ee91b8e9b38068e1a35b1018a328fdca621819d74c6
490498
- name: kind
491499
value: task
492500
resolver: bundles
@@ -512,7 +520,7 @@ spec:
512520
- name: name
513521
value: sast-shell-check-oci-ta
514522
- name: bundle
515-
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:a7766190229785bc5db9c62af92d46a83ea580a111b4b64a4e27f6caecae9489
523+
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:1e8f18f892e16f5d0fc0f42ae8512e3c78251d43cd9d9f7cfd3f6667242bf619
516524
- name: kind
517525
value: task
518526
resolver: bundles
@@ -523,6 +531,8 @@ spec:
523531
- "false"
524532
- name: sast-unicode-check
525533
params:
534+
- name: image-digest
535+
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
526536
- name: image-url
527537
value: $(tasks.build-image-index.results.IMAGE_URL)
528538
- name: SOURCE_ARTIFACT
@@ -536,7 +546,7 @@ spec:
536546
- name: name
537547
value: sast-unicode-check-oci-ta
538548
- name: bundle
539-
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.2@sha256:9613b9037e4199495800c2054c13d0479e3335ec94e0f15f031a5bce844003a9
549+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.2@sha256:24ad71fde435fc25abba2c4c550beb088b1530f738d3c377e2f635b5f320d57b
540550
- name: kind
541551
value: task
542552
resolver: bundles
@@ -547,16 +557,18 @@ spec:
547557
- "false"
548558
- name: apply-tags
549559
params:
550-
- name: IMAGE
560+
- name: IMAGE_URL
551561
value: $(tasks.build-image-index.results.IMAGE_URL)
562+
- name: IMAGE_DIGEST
563+
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
552564
runAfter:
553565
- build-image-index
554566
taskRef:
555567
params:
556568
- name: name
557569
value: apply-tags
558570
- name: bundle
559-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.1@sha256:1c6f673fe100a49f58aaef62580c8adf0c397790964f4e7bac7fcd3f4d07c92e
571+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
560572
- name: kind
561573
value: task
562574
resolver: bundles
@@ -579,7 +591,7 @@ spec:
579591
- name: name
580592
value: push-dockerfile-oci-ta
581593
- name: bundle
582-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:d0ee13ab3d9564f7ee806a8ceaced934db493a3a40e11ff6db3a912b8bbace95
594+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:5d8013b6a27bbc5e4ff261144616268f28417ed0950d583ef36349fcd59d3d3d
583595
- name: kind
584596
value: task
585597
resolver: bundles
@@ -596,7 +608,7 @@ spec:
596608
- name: name
597609
value: rpms-signature-scan
598610
- name: bundle
599-
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:80a4562d5f86eb6812f00d4e30e94c1ad27ec937735dc29f5a63e9335676b3dc
611+
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:1b6c20ab3dbfb0972803d3ebcb2fa72642e59400c77bd66dfd82028bdd09e120
600612
- name: kind
601613
value: task
602614
resolver: bundles
@@ -611,7 +623,7 @@ spec:
611623
- name: netrc
612624
optional: true
613625
taskRunTemplate:
614-
serviceAccountName: build-pipeline-postgres-exporter-globalhub-1-5
626+
serviceAccountName: build-pipeline-postgres-exporter-globalhub-1-6
615627
workspaces:
616628
- name: git-auth
617629
secret:

0 commit comments

Comments
 (0)