Skip to content

Commit

Permalink
fix(RELEASE-1345): bump image in push-rpm-data-to-pyxis (#744)
Browse files Browse the repository at this point in the history
The new image contains a fix to avoid failing on invalid
purl strings.

See this related PR:
konflux-ci/release-service-utils#343

Signed-off-by: Martin Malina <[email protected]>
  • Loading branch information
mmalina authored Dec 17, 2024
1 parent aab61bc commit ff5f537
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions tasks/push-rpm-data-to-pyxis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ all repository_id strings found in rpm purl strings in the sboms.
| server | The server type to use. Options are 'production','production-internal,'stage-internal' and 'stage'. | Yes | production |
| concurrentLimit | The maximum number of images to be processed at once | Yes | 4 |

## Changes in 1.3.2
* Updated the base image used in this task
* The new image avoids failing on invalid purl strings

## Changes in 1.3.1
* Avoid "dir already exists" error in case the task is retried in a pipelinerun

Expand Down
6 changes: 3 additions & 3 deletions tasks/push-rpm-data-to-pyxis/push-rpm-data-to-pyxis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Task
metadata:
name: push-rpm-data-to-pyxis
labels:
app.kubernetes.io/version: "1.3.1"
app.kubernetes.io/version: "1.3.2"
annotations:
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/tags: release
Expand Down Expand Up @@ -40,7 +40,7 @@ spec:
steps:
- name: download-sbom-files
image:
quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env bash
set -eux
Expand Down Expand Up @@ -99,7 +99,7 @@ spec:
- name: push-rpm-data-to-pyxis
image:
quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
env:
- name: pyxisCert
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- name: data
steps:
- name: setup-values
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down Expand Up @@ -79,7 +79,7 @@ spec:
- name: data
steps:
- name: check-result
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: data
steps:
- name: setup-values
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- name: data
steps:
- name: setup-values
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down Expand Up @@ -92,7 +92,7 @@ spec:
- name: data
steps:
- name: check-result
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- name: data
steps:
- name: setup-values
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down Expand Up @@ -116,7 +116,7 @@ spec:
- name: data
steps:
- name: check-result
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- name: data
steps:
- name: setup-values
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand Down Expand Up @@ -83,7 +83,7 @@ spec:
- name: sbomPath
steps:
- name: check-result
image: quay.io/konflux-ci/release-service-utils:f7adbd837f43941f161b6da830b2091267889e34
image: quay.io/konflux-ci/release-service-utils:34016ab5a3904257c198a12d1829b0093214b6ee
script: |
#!/usr/bin/env sh
set -eux
Expand All @@ -105,7 +105,7 @@ spec:
cat "$(workspaces.data.path)/mock_select-oci-auth.txt"
exit 1
fi
test "$(params.sbomPath)" == "./downloaded-sboms"
runAfter:
- run-task

0 comments on commit ff5f537

Please sign in to comment.