Skip to content

Commit

Permalink
Switch from build-image-manifest to build-image-index
Browse files Browse the repository at this point in the history
See deprecation notice for the former one:
https://github.com/konflux-ci/build-definitions/tree/main/task/build-image-manifest/0.1

> WARNING: Usage of this task is deprecated. You should use the build-image-index task instead.
  • Loading branch information
msugakov committed Oct 8, 2024
1 parent fba31fa commit 533feb5
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .tekton/collector-component-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- name: show-sbom
params:
- name: IMAGE_URL
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand Down Expand Up @@ -109,10 +109,10 @@ spec:
results:
- description: ""
name: IMAGE_URL
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
- description: ""
name: IMAGE_DIGEST
value: $(tasks.build-image-manifest.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- description: ""
name: CHAINS-GIT_URL
value: $(tasks.clone-repository.results.url)
Expand All @@ -133,7 +133,7 @@ spec:
- name: image-url
# We can't provide a StackRox-style tag because it is not known at this time (requires cloning source, etc.)
# As a workaround, we still provide a unique tag that's based on a revision to this task to comply with its
# expected input. We later actually add this tag on a built image with build-image-manifest-extra task.
# expected input. We later actually add this tag on a built image with build-image-index-extra task.
value: $(params.output-image-repo):konflux-$(params.revision)
- name: rebuild
value: $(params.rebuild)
Expand Down Expand Up @@ -382,7 +382,7 @@ spec:
values: [ "true" ]
timeout: 1h30m0s

- name: build-image-manifest
- name: build-image-index
params:
- name: IMAGE
value: $(params.output-image-repo):$(tasks.determine-image-tag.results.IMAGE_TAG)
Expand All @@ -397,9 +397,9 @@ spec:
taskRef:
params:
- name: name
value: build-image-manifest
value: build-image-index
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-build-image-manifest:0.1@sha256:56c8236523509b8669755e725fb6c0c5810fa49431e14da8a3a0b36ff1fde448
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:e4871851566d8b496966b37bcb8c5ce9748a52487f116373d96c6cd28ef684c6
- name: kind
value: task
resolver: bundles
Expand All @@ -408,7 +408,7 @@ spec:
operator: in
values: [ "true" ]

- name: build-image-manifest-extra
- name: build-image-index-extra
matrix:
params:
- name: IMAGE
Expand All @@ -428,9 +428,9 @@ spec:
taskRef:
params:
- name: name
value: build-image-manifest
value: build-image-index
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-build-image-manifest:0.1@sha256:56c8236523509b8669755e725fb6c0c5810fa49431e14da8a3a0b36ff1fde448
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:e4871851566d8b496966b37bcb8c5ce9748a52487f116373d96c6cd28ef684c6
- name: kind
value: task
resolver: bundles
Expand All @@ -442,7 +442,7 @@ spec:
- name: build-source-image
params:
- name: BINARY_IMAGE
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
Expand All @@ -467,9 +467,9 @@ spec:
- name: deprecated-base-image-check
params:
- name: IMAGE_URL
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: IMAGE_DIGEST
value: $(tasks.build-image-manifest.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
taskRef:
params:
- name: name
Expand All @@ -487,9 +487,9 @@ spec:
- name: clair-scan
params:
- name: image-digest
value: $(tasks.build-image-manifest.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand All @@ -507,7 +507,7 @@ spec:
- name: ecosystem-cert-preflight-checks
params:
- name: image-url
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand All @@ -527,9 +527,9 @@ spec:
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: image-digest
value: $(tasks.build-image-manifest.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand All @@ -547,9 +547,9 @@ spec:
- name: clamav-scan
params:
- name: image-digest
value: $(tasks.build-image-manifest.results.IMAGE_DIGEST)
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-image-index.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand Down

0 comments on commit 533feb5

Please sign in to comment.