Sha256: 3485c395819d4ce7d14dcb102a982112228fdaf5f2535bf2e4f273f855b4be37

Contents?: true

Size: 783 Bytes

Versions: 2

Compression:

Stored size: 783 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RuboCop::RakeTask.new
RSpec::Core::RakeTask.new(:spec)

task build: ["rubocop:auto_correct", :spec]
task default: :build

desc "Run acceptance tests with vagrant-spec"
task :acceptance do
  puts "Brining up target servers"
  # Spinning up local servers here, which the managed provider will connect to
  # by IP. See the Vagrantfile in the root of the repo for more info.
  system("vagrant up /local/ --no-provision")
  # To ensure the ntp sync happens even if the servers are already up
  system("vagrant provision /local/")
  system("bundle exec vagrant-spec test --components=orchestrate/push orchestrate/prompt")
  puts "Destroying target servers"
  system("vagrant destroy -f /local/")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-orchestrate-0.4.7 Rakefile
vagrant-orchestrate-0.4.6 Rakefile