Supports Passing SSH Args to Build Options

This commit is contained in:
Krzysztof Adamski
2023-09-06 15:37:22 +02:00
parent aea55480ad
commit 1c2a45817a
4 changed files with 28 additions and 2 deletions

View File

@@ -148,4 +148,14 @@ class ConfigurationBuilderTest < ActiveSupport::TestCase
assert_equal "..", @config_with_builder_option.builder.context
end
test "ssh" do
assert_nil @config.builder.ssh
end
test "setting ssh params" do
@deploy_with_builder_option[:builder] = { "ssh" => 'default=$SSH_AUTH_SOCK' }
assert_equal 'default=$SSH_AUTH_SOCK', @config_with_builder_option.builder.ssh
end
end