Skip to content

Commit

Permalink
chore: switch to new blackduck URL and new version (#233)
Browse files Browse the repository at this point in the history
as synopsis has changed their product name and with that the URL we have
to change the endpoint.

with that, we've also switched to the new detect script version

i've triggered the run and the expected artifacts can be found
[here](https://github.com/mercedes-benz/garm-operator/actions/runs/12983502957)

Signed-off-by: Mario Constanti <[email protected]>
  • Loading branch information
bavarianbidi authored Jan 27, 2025
1 parent 4b0848c commit 8b89fcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/foss-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ mkdir -p "tmp/"

echo "create bd scan ${BLACKDUCK_SCAN_VERSION_NAME}"
set +e
bash <(curl -s -L https://detect.synopsys.com/detect8.sh) \
bash <(curl -s -L https://detect.blackduck.com/detect10.sh) \
--blackduck.url="${BLACKDUCK_URL}" \
--blackduck.api.token="${BLACKDUCK_TOKEN}" \
--detect.project.name="${BLACKDUCK_PROJECT_NAME}" \
Expand All @@ -95,8 +95,8 @@ bash <(curl -s -L https://detect.synopsys.com/detect8.sh) \
chmod +x ./hack/generate-notices-file.sh

if ! ./hack/generate-notices-file.sh; then
echo "Error: generate-notices-file.sh execution failed!"
exit 1
echo "Error: generate-notices-file.sh execution failed!"
exit 1
fi

RC=$?
Expand Down

0 comments on commit 8b89fcc

Please sign in to comment.