Skip to content

Commit 6d5c777

Browse files
committed
fix(ISV-5783): run scripts as modules
The utils image is updated to run python scripts as modules. Signed-off-by: Martin Jediny <jedinym@proton.me>
1 parent 1cc7ac7 commit 6d5c777

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

tasks/managed/create-product-sbom/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ releaseNotes content.
2121
* Task was refactored to use the new SBOM workflow. SBOMs are now generated from the mapped snapshot spec.
2222
* Renamed `productSBOMPath` result to `sbomPath` and param `dataJsonPath` to `dataPath`.
2323
* Added param `sbomPath` for storing the generated SBOM.
24+
* Fixed executable to run script as module.
2425

2526
## Changes in 1.0.0
2627
* This task now supports Trusted artifacts

tasks/managed/create-product-sbom/create-product-sbom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ spec:
110110
- name: sourceDataArtifact
111111
value: $(params.sourceDataArtifact)
112112
- name: create-sbom
113-
image: quay.io/konflux-ci/release-service-utils:20e010a0dde28e31826ce91914d5852d73437fc2
113+
image: quay.io/konflux-ci/release-service-utils:991c2db1fe04f2fddd940605b5383a17692eb4a5
114114
script: |
115115
#!/usr/bin/env bash
116116
set -eux

tasks/managed/create-product-sbom/tests/test-create-product-sbom-basic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ spec:
162162
- name: sourceDataArtifact
163163
value: $(params.sourceDataArtifact)
164164
- name: check-result
165-
image: quay.io/konflux-ci/release-service-utils:20e010a0dde28e31826ce91914d5852d73437fc2
165+
image: quay.io/konflux-ci/release-service-utils:991c2db1fe04f2fddd940605b5383a17692eb4a5
166166
script: |
167167
#!/usr/bin/env bash
168168
set -eux

tasks/managed/update-component-sbom/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Tekton task to update component-level SBOMs with purls containing release-time i
2424
* Removed `sbomJsonPath`, `downloadedSbomPath` params. This task is no longer
2525
dependent on sbom data from `populate-release-notes-images` and build-time
2626
SBOMs from `push-rpm-data-to-pyxis`.
27+
* Fixed executable to run script as module.
2728

2829
## Changes in 1.0.0
2930
* This task now supports Trusted artifacts

tasks/managed/update-component-sbom/tests/test-update-component-sbom-basic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ spec:
162162
- name: sourceDataArtifact
163163
value: $(params.sourceDataArtifact)
164164
- name: check-result
165-
image: quay.io/konflux-ci/release-service-utils:20e010a0dde28e31826ce91914d5852d73437fc2
165+
image: quay.io/konflux-ci/release-service-utils:991c2db1fe04f2fddd940605b5383a17692eb4a5
166166
script: |
167167
#!/usr/bin/env bash
168168
set -eux

tasks/managed/update-component-sbom/update-component-sbom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spec:
111111
- name: sourceDataArtifact
112112
value: $(params.sourceDataArtifact)
113113
- name: update-sboms
114-
image: quay.io/konflux-ci/release-service-utils:20e010a0dde28e31826ce91914d5852d73437fc2
114+
image: quay.io/konflux-ci/release-service-utils:991c2db1fe04f2fddd940605b5383a17692eb4a5
115115
script: |
116116
#!/usr/bin/env bash
117117
set -eux

0 commit comments

Comments
 (0)