From b5060ab6bbc5814db6180fd36248d906e3441f2d Mon Sep 17 00:00:00 2001 From: red-hat-konflux Date: Tue, 17 Sep 2024 08:19:21 +0000 Subject: [PATCH] Red Hat Konflux update inventory-api Signed-off-by: red-hat-konflux --- .tekton/inventory-api-pull-request.yaml | 11 +++++++++-- .tekton/inventory-api-push.yaml | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.tekton/inventory-api-pull-request.yaml b/.tekton/inventory-api-pull-request.yaml index b0b9f422..f5df5a64 100644 --- a/.tekton/inventory-api-pull-request.yaml +++ b/.tekton/inventory-api-pull-request.yaml @@ -28,7 +28,14 @@ spec: value: 5d - name: dockerfile value: ./Dockerfile + - name: path-context + value: . pipelineSpec: + description: | + This pipeline is ideal for building container images from a Containerfile while reducing network traffic. + + _Uses `buildah` to create a container image. It also optionally creates a source image and runs some build-time tests. EC will flag a violation for [`trusted_task.trusted`](https://enterprisecontract.dev/docs/ec-policies/release_policy.html#trusted_task__trusted) if any tasks are added to the pipeline. + This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build?tab=tags)_ finally: - name: show-sbom params: @@ -235,7 +242,7 @@ spec: - name: name value: buildah - name: bundle - value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:a523f60203d90e149f96ec776b47ce85a7acfd6d634ddfc18f4a03f14e08ea0e + value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:71d3bb81d1c7c9f99946b5f1d4844664f2036636fd114cf5232db644bc088981 - name: kind value: task resolver: bundles @@ -267,7 +274,7 @@ spec: - name: name value: build-image-index - name: bundle - value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:18eecec92fcdb96dc346aecbbe88fb5fd95e34ee6ef4ad714dc1303723a8e4ea + value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:8619eabd7cf3340d1123afadac1f4296dc14472c8db0f774497748c762f46f33 - name: kind value: task resolver: bundles diff --git a/.tekton/inventory-api-push.yaml b/.tekton/inventory-api-push.yaml index 6f405078..93daf008 100644 --- a/.tekton/inventory-api-push.yaml +++ b/.tekton/inventory-api-push.yaml @@ -25,7 +25,14 @@ spec: value: quay.io/redhat-user-workloads/project-kessel-tenant/kessel/inventory-api:{{revision}} - name: dockerfile value: ./Dockerfile + - name: path-context + value: . pipelineSpec: + description: | + This pipeline is ideal for building container images from a Containerfile while reducing network traffic. + + _Uses `buildah` to create a container image. It also optionally creates a source image and runs some build-time tests. EC will flag a violation for [`trusted_task.trusted`](https://enterprisecontract.dev/docs/ec-policies/release_policy.html#trusted_task__trusted) if any tasks are added to the pipeline. + This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build?tab=tags)_ finally: - name: show-sbom params: @@ -232,7 +239,7 @@ spec: - name: name value: buildah - name: bundle - value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:a523f60203d90e149f96ec776b47ce85a7acfd6d634ddfc18f4a03f14e08ea0e + value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:71d3bb81d1c7c9f99946b5f1d4844664f2036636fd114cf5232db644bc088981 - name: kind value: task resolver: bundles @@ -264,7 +271,7 @@ spec: - name: name value: build-image-index - name: bundle - value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:18eecec92fcdb96dc346aecbbe88fb5fd95e34ee6ef4ad714dc1303723a8e4ea + value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:8619eabd7cf3340d1123afadac1f4296dc14472c8db0f774497748c762f46f33 - name: kind value: task resolver: bundles