Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(STONEINTG-931): adding deprecation warning for sbom-json-check task #1318

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading