Merge pull request #972 from kohkimakimoto/dev-provenance-flag

Add provenance option
This commit is contained in:
Donal McBreen
2024-10-23 14:07:19 +01:00
committed by GitHub
5 changed files with 40 additions and 2 deletions

View File

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