Repository navigation
fix(build): install CycloneDX CLI via direct download in CI (unblock release SBOM step) - #3403
Merged
Merged
Conversation
Homebrew now refuses the untrusted cyclonedx/cyclonedx tap, so `brew install cyclonedx/cyclonedx/cyclonedx-cli` fails in CI and breaks the release pipeline's SBOM step (Release Build → Documentation). Download the pinned cyclonedx-linux-<arch> binary (v0.33.1) directly from GitHub releases instead, and guard $CI against set -u.
javahippie
approved these changes
Jul 24, 2026
javahippie
left a comment
Contributor
There was a problem hiding this comment.
If the builds are green, fine for me
This was referenced Jul 24, 2026
cachescrubber
added a commit
that referenced
this pull request
Jul 24, 2026
…3404) Homebrew now refuses the untrusted cyclonedx/cyclonedx tap, so `brew install cyclonedx/cyclonedx/cyclonedx-cli` fails in CI and breaks the release pipeline's SBOM step (Release Build → Documentation). Download the pinned cyclonedx-linux-<arch> binary (v0.33.1) directly from GitHub releases instead, and guard $CI against set -u. (cherry picked from commit e29b044)
cachescrubber
added a commit
that referenced
this pull request
Jul 24, 2026
…3405) Homebrew now refuses the untrusted cyclonedx/cyclonedx tap, so `brew install cyclonedx/cyclonedx/cyclonedx-cli` fails in CI and breaks the release pipeline's SBOM step (Release Build → Documentation). Download the pinned cyclonedx-linux-<arch> binary (v0.33.1) directly from GitHub releases instead, and guard $CI against set -u. (cherry picked from commit e29b044)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
The release pipeline's SBOM step fails in CI.
build-sbom.shinstalls the CycloneDX CLI with:Current Homebrew refuses the untrusted
cyclonedx/cyclonedxtap by default:→ CycloneDX CLI never installs →
build-sbom.shfails →Release Build→Documentationstep exits 1. The Maven build itself succeeds; only the SBOM step breaks. This blocksrelease.ymlfor every line (surfaced by the 1.1.5 release dry run).Fix
Replace the CI Homebrew install with a direct pinned-binary download from the CycloneDX CLI GitHub releases — reproducible and free of any tap-trust dependency:
v0.33.1, downloadscyclonedx-linux-<arch>(arch-detected: x64/arm64) into$RUNNER_TEMP,chmod +x, prepends toPATH.brewpath is left unchanged.$CIagainstset -u(${CI:-}).Follow-up
Once merged, cherry-pick to
release/2.1.xandrelease/1.1.xso today's 2.1.3 / 1.1.5 releases pick it up, then re-run the release dry runs to confirm green.