Skip to content

Commit

Permalink
fix(ISV-5130): remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Jediny <[email protected]>
  • Loading branch information
jedinym committed Nov 6, 2024
1 parent 63e6cd0 commit 33d6b9c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tasks/upload-sbom-to-atlas/upload-sbom-to-atlas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,9 @@ spec:
httpRetries=$(params.httpRetries)
curl_opts=(--silent --show-error --fail-with-body --retry "$httpRetries")
# Access the base64-encoded secret values from the mounted volume
sso_account="$(cat /secrets/sso_account)"
sso_token="$(cat /secrets/sso_token)"
# Decode the base64-encoded values
# sso_account=$(echo "$sso_account_base64" | base64 --decode)
# sso_token=$(echo "$sso_token_base64" | base64 --decode)
for sbom_path in "${sboms_to_upload[@]}"; do
original_sbom_relpath="$(realpath "$sbom_path" --relative-base="$sbomsDir")"
echo "--- Processing $original_sbom_relpath ---"
Expand All @@ -222,7 +217,6 @@ spec:
retry_max_time="$expires_in"
fi
# This sbom_id is the one created in the gather-sboms step - sha256:${checksum}
sbom_id="$(basename -s .json "$sbom_path")"
supported_version_of_sbom="${sbom_path}.supported_version"
Expand Down

0 comments on commit 33d6b9c

Please sign in to comment.