Run RC
This commit is contained in:
@@ -20,7 +20,7 @@ class Kamal::Configuration
|
|||||||
|
|
||||||
class << self
|
class << self
|
||||||
def create_from(config_file:, destination: nil, version: nil)
|
def create_from(config_file:, destination: nil, version: nil)
|
||||||
ENV['KAMAL_DESTINATION'] = destination
|
ENV["KAMAL_DESTINATION"] = destination
|
||||||
|
|
||||||
raw_config = load_config_files(config_file, *destination_config_file(config_file, destination))
|
raw_config = load_config_files(config_file, *destination_config_file(config_file, destination))
|
||||||
|
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ class ConfigurationTest < ActiveSupport::TestCase
|
|||||||
dest_config_file = Pathname.new(File.expand_path("fixtures/deploy_for_dest.yml", __dir__))
|
dest_config_file = Pathname.new(File.expand_path("fixtures/deploy_for_dest.yml", __dir__))
|
||||||
|
|
||||||
config = Kamal::Configuration.create_from config_file: dest_config_file, destination: "world"
|
config = Kamal::Configuration.create_from config_file: dest_config_file, destination: "world"
|
||||||
assert_equal ENV['KAMAL_DESTINATION'], "world"
|
assert_equal ENV["KAMAL_DESTINATION"], "world"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "destination yml config merge" do
|
test "destination yml config merge" do
|
||||||
|
|||||||
Reference in New Issue
Block a user