Sha256: 2af56cb13dd630ea8282378e4e48a247f27da40c49ce2a4e3cda09a912c3d854

Contents?: true

Size: 733 Bytes

Versions: 15

Compression:

Stored size: 733 Bytes

Contents

namespace :acceptance do
  ARTIFACT_DIR = File.join('acceptance', 'artifacts')
  TEST_BOXES = %w[
    https://vagrantcloud.com/puppetlabs/centos-6.5-64-nocm/version/2/provider/virtualbox.box
  ]

  directory ARTIFACT_DIR
  TEST_BOXES.each do |box_url|
    file File.join(ARTIFACT_DIR, File.basename(box_url)) => ARTIFACT_DIR do |path|
      puts 'Downloading: ' + box_url
      Kernel.system 'curl', '-L', '-o', path.to_s, box_url
    end
  end

  desc 'downloads test boxes and other artifacts'
  task :setup => TEST_BOXES.map {|box_url| File.join(ARTIFACT_DIR, File.basename(box_url))}

  desc 'runs acceptance tests'
  task :run => :setup do
    command = 'vagrant-spec test'
    puts command
    puts
    exec(command)
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
vagrant-pe_build-0.10.1 tasks/acceptance.rake
vagrant-pe_build-0.10.0 tasks/acceptance.rake
vagrant-pe_build-0.9.7 tasks/acceptance.rake
vagrant-pe_build-0.9.6 tasks/acceptance.rake
vagrant-pe_build-0.9.5 tasks/acceptance.rake
vagrant-pe_build-0.9.4 tasks/acceptance.rake
vagrant-pe_build-0.9.3 tasks/acceptance.rake
vagrant-pe_build-0.9.2 tasks/acceptance.rake
vagrant-pe_build-0.9.1 tasks/acceptance.rake
vagrant-pe_build-0.9.0 tasks/acceptance.rake
vagrant-auto_network-1.0.2 tasks/acceptance.rake
vagrant-auto_network-1.0.1 tasks/acceptance.rake
vagrant-auto_network-1.0.0 tasks/acceptance.rake
vagrant-auto_network-1.0.0.rc1 tasks/acceptance.rake
vagrant-auto_network-1.0.0.beta2 tasks/acceptance.rake