Sha256: f30f57f4bbab4ebd781f42a95aaeed4fc03c3431af27fb77ed801f1ea0ef8f17
Contents?: true
Size: 915 Bytes
Versions: 4
Compression:
Stored size: 915 Bytes
Contents
require 'dkdeploy/test_environment/application' ssh_config = {} ssh_key_files = Dir.glob(File.join(Dir.getwd, '.vagrant', 'machines', '**', 'virtualbox', 'private_key')) unless ssh_key_files.empty? # Define generated ssh key files ssh_config = { user: 'vagrant', keys: ssh_key_files } end TEST_APPLICATION = Dkdeploy::TestEnvironment::Application.new(File.expand_path('../../../', __FILE__), 'dkdeploy-core.dev', ssh_config) TEST_APPLICATION.mysql_connection_settings = { host: 'dkdeploy-core.dev', username: 'root', password: 'ilikerandompasswords' } # this configuration tricks Bundler into executing another Bundler project with clean enviroment # The official way via Bundler.with_clean_env did not work properly here Aruba.configure do |config| config.command_runtime_environment = { 'BUNDLE_GEMFILE' => File.join(TEST_APPLICATION.test_app_path, 'Gemfile') } config.exit_timeout = 30 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dkdeploy-core-9.1.1 | features/support/env.rb |
dkdeploy-core-9.0.1 | features/support/env.rb |
dkdeploy-core-9.1.0 | features/support/env.rb |
dkdeploy-core-9.0.0 | features/support/env.rb |