Skip to content

Commit 92db714

Browse files
Merge pull request #106 from openshift/konflux-oadp-hypershift-oadp-plugin-oadp-1-4
Red Hat Konflux update oadp-hypershift-oadp-plugin-oadp-1-4
2 parents 416d032 + f08d0b1 commit 92db714

File tree

2 files changed

+81
-91
lines changed

2 files changed

+81
-91
lines changed

.tekton/oadp-hypershift-oadp-plugin-oadp-1-4-pull-request.yaml

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ 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 == "oadp-1.5"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "oadp-1.4"
1212
creationTimestamp:
1313
labels:
14-
appstudio.openshift.io/application: oadp-1-5
15-
appstudio.openshift.io/component: oadp-hypershift-oadp-plugin-oadp-1-5
14+
appstudio.openshift.io/application: oadp-1-4
15+
appstudio.openshift.io/component: oadp-hypershift-oadp-plugin-oadp-1-4
1616
pipelines.appstudio.openshift.io/type: build
17-
name: oadp-hypershift-oadp-plugin-oadp-1-5-on-pull-request
17+
name: oadp-hypershift-oadp-plugin-oadp-1-4-on-pull-request
1818
namespace: ocp-art-tenant
1919
spec:
2020
params:
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/redhat-user-workloads/ocp-art-tenant/oadp-hypershift-oadp-plugin-oadp-1-5:on-pr-{{revision}}
26+
value: quay.io/redhat-user-workloads/ocp-art-tenant/oadp-hypershift-oadp-plugin-oadp-1-4:on-pr-{{revision}}
2727
- name: image-expires-after
2828
value: 5d
2929
- name: build-platforms
@@ -35,29 +35,15 @@ spec:
3535
- name: dockerfile
3636
value: Dockerfile.oadp
3737
- name: hermetic
38-
value: "true"
38+
value: 'true'
3939
- name: prefetch-input
4040
value: '[{"type": "gomod", "path": "."}, {"type": "rpm", "path": "hack/build/"}]'
4141
pipelineSpec:
4242
description: |
4343
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
4444
45-
_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.
45+
_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.
4646
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)_
47-
finally:
48-
- name: show-sbom
49-
params:
50-
- name: IMAGE_URL
51-
value: $(tasks.build-image-index.results.IMAGE_URL)
52-
taskRef:
53-
params:
54-
- name: name
55-
value: show-sbom
56-
- name: bundle
57-
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:86c069cac0a669797e8049faa8aa4088e70ff7fcd579d5bdc37626a9e0488a05
58-
- name: kind
59-
value: task
60-
resolver: bundles
6147
params:
6248
- description: Source Repository URL
6349
name: git-url
@@ -96,6 +82,7 @@ spec:
9682
- default: ""
9783
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
9884
name: image-expires-after
85+
type: string
9986
- default: "false"
10087
description: Build a source image.
10188
name: build-source-image
@@ -148,7 +135,7 @@ spec:
148135
- name: name
149136
value: init
150137
- name: bundle
151-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:1d8221c84f91b923d89de50bf16481ea729e3b68ea04a9a7cbe8485ddbb27ee6
138+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:ded314206f09712b2116deb050b774ae7efef9ab243794334c8e616871a3ffa5
152139
- name: kind
153140
value: task
154141
resolver: bundles
@@ -169,7 +156,7 @@ spec:
169156
- name: name
170157
value: git-clone-oci-ta
171158
- name: bundle
172-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:d35e5d501cb5f5f88369511f76249857cb5ac30250e1dcf086939321964ff6b9
159+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:4a601aeec58a1dd89c271e728fd8f0d84777825b46940c3aec27f15bab3edacf
173160
- name: kind
174161
value: task
175162
resolver: bundles
@@ -183,8 +170,6 @@ spec:
183170
workspace: git-auth
184171
- name: prefetch-dependencies
185172
params:
186-
- name: dev-package-managers
187-
value: "true"
188173
- name: input
189174
value: $(params.prefetch-input)
190175
- name: SOURCE_ARTIFACT
@@ -200,7 +185,7 @@ spec:
200185
- name: name
201186
value: prefetch-dependencies-oci-ta
202187
- name: bundle
203-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:092491ac0f6e1009d10c58a1319d1029371bf637cc1293cceba53c6da5314ed1
188+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:29869c64ff27e964e26a8a7ea2c882a2ed5424210bd0603be45a07e2ebf308cc
204189
- name: kind
205190
value: task
206191
resolver: bundles
@@ -250,22 +235,22 @@ spec:
250235
- com.redhat.component=oadp-hypershift-velero-plugin-container
251236
- io.k8s.description=OpenShift API for Data Protection - Hypershift Velero Plugin
252237
- io.k8s.display-name=OpenShift API for Data Protection Hypershift Velero Plugin
253-
- io.openshift.build.commit.branch=oadp-1.5
238+
- io.openshift.build.commit.branch=oadp-1.4
254239
- io.openshift.build.source-location=https://github.com/openshift/hypershift-oadp-plugin
255240
- io.openshift.tags=migration
256241
- maintainer=OpenShift API for Data Protection Team <oadp-team@redhat.com>
257242
- name=oadp/oadp-hypershift-velero-plugin-rhel9
258243
- summary=OpenShift API for Data Protection - Hypershift Velero Plugin
259244
- vendor=Red Hat, Inc.
260-
- version=1.5.1
245+
- version=1.4.6
261246
runAfter:
262247
- prefetch-dependencies
263248
taskRef:
264249
params:
265250
- name: name
266251
value: buildah-remote-oci-ta
267252
- name: bundle
268-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:9e866d4d0489a6ab84ae263db416c9f86d2d6117ef4444f495a0e97388ae3ac0
253+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:bd1035554521c48412599a0ae7c77a0701070bba22eb5cec524eb0968d5f4223
269254
- name: kind
270255
value: task
271256
resolver: bundles
@@ -294,7 +279,7 @@ spec:
294279
- name: name
295280
value: build-image-index
296281
- name: bundle
297-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3499772af90aad0d3935629be6d37dd9292195fb629e6f43ec839c7f545a0faa
282+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3bf6e4e83f911066430041534a69eec51dbd0f52f34a9bf41c6f3a24ec2ffb22
298283
- name: kind
299284
value: task
300285
resolver: bundles
@@ -307,20 +292,20 @@ spec:
307292
params:
308293
- name: BINARY_IMAGE
309294
value: $(tasks.build-image-index.results.IMAGE_URL)
295+
- name: BINARY_IMAGE_DIGEST
296+
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
310297
- name: SOURCE_ARTIFACT
311298
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
312299
- name: CACHI2_ARTIFACT
313300
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
314-
- name: BINARY_IMAGE_DIGEST
315-
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
316301
runAfter:
317302
- build-image-index
318303
taskRef:
319304
params:
320305
- name: name
321306
value: source-build-oci-ta
322307
- name: bundle
323-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
308+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:f1c0743939fe246b19e9e268a3b96b22b724096dcf946548c3d60e184136e32f
324309
- name: kind
325310
value: task
326311
resolver: bundles
@@ -346,7 +331,7 @@ spec:
346331
- name: name
347332
value: deprecated-image-check
348333
- name: bundle
349-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:3c8b81fa868e27c6266e7660a4bfb4c822846dcf4304606e71e20893b0d3e515
334+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:1d07d16810c26713f3d875083924d93697900147364360587ccb5a63f2c31012
350335
- name: kind
351336
value: task
352337
resolver: bundles
@@ -368,7 +353,7 @@ spec:
368353
- name: name
369354
value: clair-scan
370355
- name: bundle
371-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:417f44117f8d87a4a62fea6589b5746612ac61640b454dbd88f74892380411f2
356+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:893ffa3ce26b061e21bb4d8db9ef7ed4ddd4044fe7aa5451ef391034da3ff759
372357
- name: kind
373358
value: task
374359
resolver: bundles
@@ -377,7 +362,12 @@ spec:
377362
operator: in
378363
values:
379364
- "false"
380-
- name: ecosystem-cert-preflight-checks
365+
- matrix:
366+
params:
367+
- name: platform
368+
value:
369+
- $(params.build-platforms)
370+
name: ecosystem-cert-preflight-checks
381371
params:
382372
- name: image-url
383373
value: $(tasks.build-image-index.results.IMAGE_URL)
@@ -388,7 +378,7 @@ spec:
388378
- name: name
389379
value: ecosystem-cert-preflight-checks
390380
- name: bundle
391-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:f99d2bdb02f13223d494077a2cde31418d09369f33c02134a8e7e5fad2f61eda
381+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:1f151e00f7fc427654b7b76045a426bb02fe650d192ffe147a304d2184787e38
392382
- name: kind
393383
value: task
394384
resolver: bundles
@@ -423,7 +413,12 @@ spec:
423413
operator: in
424414
values:
425415
- "false"
426-
- name: clamav-scan
416+
- matrix:
417+
params:
418+
- name: image-arch
419+
value:
420+
- $(params.build-platforms)
421+
name: clamav-scan
427422
params:
428423
- name: image-digest
429424
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
@@ -436,7 +431,7 @@ spec:
436431
- name: name
437432
value: clamav-scan
438433
- name: bundle
439-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:7749146f7e4fe530846f1b15c9366178ec9f44776ef1922a60d3e7e2b8c6426b
434+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:b0bd59748cda4a7abf311e4f448e6c1d00c6b6d8c0ecc1c2eb33e08dc0e0b802
440435
- name: kind
441436
value: task
442437
resolver: bundles
@@ -481,7 +476,7 @@ spec:
481476
- name: name
482477
value: sast-coverity-check-oci-ta
483478
- name: bundle
484-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:f9ca942208dc2e63b479384ccc56a611cc793397ecc837637b5b9f89c2ecbefe
479+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:9c776c82aeaf36539a0aa68764ed285f78530d78207ddb011aaa0a01f9ccb16d
485480
- name: kind
486481
value: task
487482
resolver: bundles
@@ -579,7 +574,7 @@ spec:
579574
- name: name
580575
value: apply-tags
581576
- name: bundle
582-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
577+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:e0de426d492e195f59c99d2ea1ca0df7bfb8c689f5d1468fe7f70eb8684b8d02
583578
- name: kind
584579
value: task
585580
resolver: bundles
@@ -602,7 +597,7 @@ spec:
602597
- name: name
603598
value: push-dockerfile-oci-ta
604599
- name: bundle
605-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:8c75c4a747e635e5f3e12266a3bb6e5d3132bf54e37eaa53d505f89897dd8eca
600+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:235ef6e835de8171c07b8a7f8947d0b40bfcff999e1ff3cb6ddd9acc65c48430
606601
- name: kind
607602
value: task
608603
resolver: bundles
@@ -619,7 +614,7 @@ spec:
619614
- name: name
620615
value: rpms-signature-scan
621616
- name: bundle
622-
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:1b6c20ab3dbfb0972803d3ebcb2fa72642e59400c77bd66dfd82028bdd09e120
617+
value: quay.io/konflux-ci/konflux-vanguard/task-rpms-signature-scan:0.2@sha256:e127e0e0a5aab1364b560436594fe7ed67abcd5f8d6dd3ef14ac1f35cf81078c
623618
- name: kind
624619
value: task
625620
resolver: bundles
@@ -656,7 +651,7 @@ spec:
656651
- name: netrc
657652
optional: true
658653
taskRunTemplate:
659-
serviceAccountName: build-pipeline-oadp-hypershift-oadp-plugin-oadp-1-5
654+
serviceAccountName: build-pipeline-oadp-hypershift-oadp-plugin-oadp-1-4
660655
workspaces:
661656
- name: git-auth
662657
secret:

0 commit comments

Comments
 (0)