Skip to content

Commit

Permalink
chore: Update konflux pipelines (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
msugakov authored Oct 8, 2024
1 parent d9f0024 commit 970d39c
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .tekton/scanner-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 @@ -94,8 +94,7 @@ spec:
description: Java build
name: java
type: string
- default: ""
description: Image tag expiration time, time values could be something like
- description: Image tag expiration time, time values could be something like
1h, 2d, 3w for hours, days, and weeks, respectively.
name: image-expires-after
type: string
Expand All @@ -119,10 +118,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 @@ -143,7 +142,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 in order for this task to comply with
# its expected input. We later actually add this tag on a built image with the build-image-manifest-konflux task.
# its expected input. We later actually add this tag on a built image with the build-image-index-konflux task.
value: $(params.output-image-repo):konflux-$(params.revision)
- name: rebuild
value: $(params.rebuild)
Expand Down Expand Up @@ -394,7 +393,7 @@ spec:
operator: in
values: [ "true" ]

- 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 @@ -411,9 +410,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 @@ -422,7 +421,7 @@ spec:
operator: in
values: [ "true" ]

- name: build-image-manifest-konflux
- name: build-image-index-konflux
params:
- name: IMAGE
value: $(params.output-image-repo):konflux-$(params.revision)
Expand All @@ -439,9 +438,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 Down Expand Up @@ -478,9 +477,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 @@ -498,9 +497,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 @@ -518,7 +517,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 @@ -538,9 +537,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 @@ -558,9 +557,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 970d39c

Please sign in to comment.