Module: AnotherBrick
- Extended by:
- AnotherBrick, Configuration
- Included in:
- AnotherBrick
- Defined in:
- lib/another_brick.rb,
lib/another_brick/tag.rb,
lib/another_brick/server.rb,
lib/another_brick/version.rb,
lib/another_brick/bricklayer.rb,
lib/another_brick/configuration.rb
Defined Under Namespace
Modules: Bricklayer, Configuration, Server, Tag
Constant Summary collapse
- VERSION =
"0.2.1"
Instance Attribute Summary
Attributes included from Configuration
#bricklayer_server, #bricklayer_tries, #deploy_server, #deploy_user, #max_tries, #package_name, #tag
Instance Method Summary collapse
Methods included from Configuration
Instance Method Details
#run!(options = {}) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/another_brick.rb', line 16 def run!( = {}) load_configuration() Tag.create(tag).tap do |new_tag| Bricklayer.wait_build(new_tag) Server.deploy(new_tag) end end |