Skip to content

Commit

Permalink
feat(STONEINTG-931): adding deprecation warning for sbom-json-check task
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Sztuka <[email protected]>
  • Loading branch information
jsztuka committed Aug 21, 2024
1 parent ff4aa95 commit d16c978
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions task/sbom-json-check/0.1/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# sbom-json-check task

## Deprecation notice

This task is deprecated, please remove it from you pipeline.

## Description:

The sbom-json-check task verifies the integrity and security of a Software Bill of Materials (SBOM) file in JSON format using the CyloneDX tool.
Expand Down
3 changes: 3 additions & 0 deletions task/sbom-json-check/0.1/sbom-json-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: tekton.dev/v1
kind: Task
metadata:
name: sbom-json-check
annotations:
build.appstudio.redhat.com/expires-on: 2025-09-30T00:00:00Z
spec:
description: >-
Verifies the integrity and security of the Software Bill of Materials (SBOM) file in JSON format using CyloneDX tool.
Expand Down Expand Up @@ -52,6 +54,7 @@ spec:
#!/usr/bin/env bash
set -euo pipefail
source /utils.sh
echo "[WARNING]: !!!DEPRECATED!!! - sbom-json-check task is going to be removed in near future, please remove it from your pipeline. (Deprecation date: 2024-09-30)"
trap 'handle_error $(results.TEST_OUTPUT.path)' EXIT
images_processed_template='{"image": {"pullspec": "'"$IMAGE_URL"'", "digests": [%s]}}'
Expand Down

0 comments on commit d16c978

Please sign in to comment.