Adds support for SBOM attestations

This commit is contained in:
Matthew Jones
2024-11-18 13:01:53 -07:00
parent 9cf8da64c4
commit c970ceebe3
5 changed files with 40 additions and 2 deletions

View File

@@ -144,6 +144,16 @@ class ConfigurationBuilderTest < ActiveSupport::TestCase
assert_equal "mode=max", config.builder.provenance
end
test "sbom" do
assert_nil config.builder.sbom
end
test "setting sbom" do
@deploy[:builder]["sbom"] = true
assert_equal true, config.builder.sbom
end
test "local disabled but no remote set" do
@deploy[:builder]["local"] = false