Sha256: 4f01751e59fa3a321dc56e20a74f7133f8eb2d322830ead73535020508120c1d
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" task :spec => "spec:all" HOSTS = %w(centos70 debian8) namespace :spec do task :all => HOSTS HOSTS.each do |host| RSpec::Core::RakeTask.new(host.to_sym) do |t| puts "Running tests to #{host} ..." ENV["TARGET_HOST"] = host t.pattern = "spec/*_spec.rb" end end end namespace :itamae do task :all => HOSTS HOSTS.each do |host| desc "Running itamae to #{host}" task host do sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itamae-plugin-recipe-tig-0.1.2 | Rakefile |