Class: Minke::Config::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/minke/config/config.rb

Overview

Task encapsulates the configuration for the various rake tasks like build, run, etc.

Instance Attribute Summary collapse

Instance Attribute Details

#container_addressesObject

container_addresses contains an array of Minke::Config::ContainerAddress which holds the details for the address the public and private ports of any containers which will be started by this task.



228
229
230
# File 'lib/minke/config/config.rb', line 228

def container_addresses
  @container_addresses
end

#dockerObject

docker config allows you to override the main docker configuration on a per task basis. instance of Minke::Config::TaskRunSettings

Optional


222
223
224
# File 'lib/minke/config/config.rb', line 222

def docker
  @docker
end

#postObject

post tasks will run after the main task executes. instance of Minke::Config::TaskRunSettings

Optional


215
216
217
# File 'lib/minke/config/config.rb', line 215

def post
  @post
end

#preObject

pre tasks will run before the main task executes. instance of Minke::Config::TaskRunSettings

Optional


208
209
210
# File 'lib/minke/config/config.rb', line 208

def pre
  @pre
end