Sha256: b52d0b55ca72f21e675cf72f27bfbd848f0e51a5b33aefcc974eea663b15093d

Contents?: true

Size: 900 Bytes

Versions: 8

Compression:

Stored size: 900 Bytes

Contents

set :deploy_var, "tester"
set :deploy_var_2, "bongo"
set :deploy_var_3, ["one","two"]
server :test, :addresses => ["slashdot.org","google.com"], :user => "root"
server :test2, :addresses => ["bongo.org","bangler.com"], :user => "root"

task_for :task1, :server => :test do
  set :deploy_var_2, "shasta"
  set :bango, "bongo"
  run "deploy dir = #{deploy_var}"
  run "command 2"
  run "command 3"
  run :deploy_var
  run :deploy_var_2
  run :bango
end

task_for :task2, :server => :test do
  set :deploy_var_2, "purple"
  set :deploy_var_3, "mountain dew"
end

task_for :task3, :servers => [:test, :test2] do
  run "ls"
  local "ls" #empty in tests so it doesn't pollute
end

task_for :seq1, :server => :test do
  run "1"
end

task_for :seq2, :server => :test do
  run "2"
end

task_for :non_parallel, :server => :test, :parallel => false do
  run "ls"
end

sequence :deploy, :tasks => [:seq1, :seq2]

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
screwcap-0.3.5 test/config/simple_recipe.rb
screwcap-0.3.4 test/config/simple_recipe.rb
screwcap-0.3.3 test/config/simple_recipe.rb
screwcap-0.3.2 test/config/simple_recipe.rb
screwcap-0.3.1 test/config/simple_recipe.rb
screwcap-0.3 test/config/simple_recipe.rb
screwcap-0.2 test/config/simple_recipe.rb
screwcap-0.1 test/config/simple_recipe.rb