Skip to content

Add SBOM release artifacts#18

Merged
krotname merged 1 commit into
mainfrom
feature/public-repo-polish-20260621
Jun 21, 2026
Merged

Add SBOM release artifacts#18
krotname merged 1 commit into
mainfrom
feature/public-repo-polish-20260621

Conversation

@krotname

Copy link
Copy Markdown
Owner

Summary

  • generate a CycloneDX SBOM as part of the Gradle release bundle
  • include SBOM in release checksums and GitHub release upload
  • add provenance and SBOM attestations to the release workflow
  • document release verification in RU/EN READMEs and SECURITY.md

Validation

  • ./gradlew.bat check releaseBundle --no-daemon --console=plain
  • workflow YAML parse and bash syntax checks
  • parsed generated CycloneDX SBOM JSON
  • git diff --check

@krotname krotname marked this pull request as ready for review June 21, 2026 01:47
@krotname krotname merged commit 3f36d15 into main Jun 21, 2026
10 checks passed
@krotname krotname deleted the feature/public-repo-polish-20260621 branch June 21, 2026 01:48
@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e36064255

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread build.gradle.kts
tasks.register("releaseSbom") {
group = "distribution"
description = "Write a CycloneDX SBOM for the release runtime classpath"
outputs.file(sbomFile)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Declare SBOM task inputs

When releaseBundle is rerun in the same checkout after a runtime dependency changes without changing project.version, Gradle can treat releaseSbom as up-to-date because this task declares only its output and no inputs. The zip and provenance/checksum tasks may rebuild, but the old *-sbom.cdx.json remains and gets checksummed/uploaded as the release SBOM, so the published SBOM can describe the previous dependency set; declare the runtime classpath and project metadata as inputs for this task.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant