Class: Orchestra::Cli::Services
- Defined in:
- lib/orchestra/cli/services.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#down ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/orchestra/cli/services.rb', line 25 def down with_lock do log "services down" execute compose_down_cmd end end |
#lock_test ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/orchestra/cli/services.rb', line 34 def lock_test with_lock do log "Executing something with lock for 15 seconds..." sleep 15 log "Lock test done." end end |
#up ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/orchestra/cli/services.rb', line 12 def up with_lock do log "services up" execute sync_config_files_cmd execute compose_prepare_cmd initialize_data_volumes execute compose_up_cmd end end |