diff --git a/.tekton/operator-index-pipeline.yaml b/.tekton/operator-index-pipeline.yaml index aeaa914c..d4ae1cde 100644 --- a/.tekton/operator-index-pipeline.yaml +++ b/.tekton/operator-index-pipeline.yaml @@ -2,13 +2,17 @@ apiVersion: tekton.dev/v1 kind: Pipeline metadata: name: operator-index-pipeline + spec: + description: | This pipeline builds and verifies ACS operator [file-based catalogs](https://konflux-ci.dev/docs/advanced-how-tos/building-olm.adoc#building-the-file-based-catalog). Modified from the generic Konflux pipeline by adding an OpenShift version parameter. _Uses `buildah` to create a container image. Its build-time tests are limited to verifying the included catalog and do not scan the image._ + finally: + - name: slack-notification params: - name: message @@ -16,7 +20,7 @@ spec: - name: key-name value: 'acs-konflux-notifications' when: - # Run when any task has Failed + # Run when any task has Failed - input: $(tasks.status) operator: in values: ["Failed"] @@ -29,6 +33,7 @@ spec: - name: kind value: task resolver: bundles + - name: show-sbom params: - name: IMAGE_URL @@ -42,6 +47,7 @@ spec: - name: kind value: task resolver: bundles + - name: show-summary params: - name: pipelinerun-name @@ -61,6 +67,7 @@ spec: - name: kind value: task resolver: bundles + - name: post-metric-end params: - name: AGGREGATE_TASKS_STATUS @@ -74,6 +81,7 @@ spec: - name: kind value: task resolver: bundles + params: - description: Source Repository URL name: git-url @@ -117,9 +125,9 @@ spec: type: string - description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively. name: image-expires-after - # Image expiry disabled because it sets quay.expires-after label on the image which fails Conforma at release time. - # A downside is that FBC images will stay in our Quay forever while certainly they become unneeded as time passes. - # TODO(ROX-27836): find a way to garbage-collect FBC images. + # Image expiry disabled because it sets quay.expires-after label on the image which fails Conforma at release time. + # A downside is that FBC images will stay in our Quay forever while certainly they become unneeded as time passes. + # TODO(ROX-27836): find a way to garbage-collect FBC images. default: '' - default: "false" description: Build a source image. @@ -149,6 +157,7 @@ spec: default: 'false' description: Enable cache proxy configuration type: string + results: - description: "" name: IMAGE_URL @@ -162,11 +171,15 @@ spec: - description: "" name: CHAINS-GIT_COMMIT value: $(tasks.clone-repository.results.commit) + workspaces: - name: git-auth + tasks: + - name: post-metric-start taskRef: *post-bigquery-metrics-ref + - name: init params: - name: enable-cache-proxy @@ -180,6 +193,7 @@ spec: - name: kind value: task resolver: bundles + - name: clone-repository params: - name: url @@ -202,6 +216,7 @@ spec: workspaces: - name: basic-auth workspace: git-auth + - name: build-images matrix: params: @@ -245,6 +260,7 @@ spec: value: task resolver: bundles retries: 1 + - name: build-image-index params: - name: IMAGE @@ -270,6 +286,7 @@ spec: value: task resolver: bundles runAfter: [ build-images ] + - name: deprecated-base-image-check params: - name: IMAGE_URL @@ -289,6 +306,7 @@ spec: - input: $(params.skip-checks) operator: in values: ["false"] + - name: apply-tags params: - name: IMAGE_URL @@ -304,6 +322,7 @@ spec: - name: kind value: task resolver: bundles + - name: validate-fbc params: - name: IMAGE_URL @@ -323,6 +342,7 @@ spec: - input: $(params.skip-checks) operator: in values: ["false"] + - name: fbc-target-index-pruning-check params: - name: IMAGE_URL @@ -346,6 +366,7 @@ spec: - input: $(params.skip-checks) operator: in values: ["false"] + - name: fbc-fips-check-oci-ta params: - name: image-digest