Sha256: 01c5cef9c7b5006d671133525cc0f9b6dd9532fa6057f1c0e5d7f72aa5d835dd

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

task :docker_up do
  puts 'Starting concourse in background, this will take a minute..'
  Process.spawn('docker-compose up -d', out: '/dev/null', err: '/dev/null')
  sleep 20 # Just give it a chance to start
end

task :docker_down do
  system('docker-compose down')
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rudder-0.3.1 lib/tasks/docker.rb
rudder-0.3.0 lib/tasks/docker.rb
rudder-0.2.2 lib/tasks/docker.rb
rudder-0.2.1 lib/tasks/docker.rb
rudder-0.2.0 lib/tasks/docker.rb
rudder-0.1.0 lib/tasks/docker.rb