Class: Capistrano::Nomad
- Inherits:
-
Plugin
- Object
- Plugin
- Capistrano::Nomad
- Defined in:
- lib/capistrano/nomad.rb
Instance Method Summary collapse
Instance Method Details
#define_tasks ⇒ Object
18 19 20 |
# File 'lib/capistrano/nomad.rb', line 18 def define_tasks eval_rakefile(File.("nomad/tasks/nomad.rake", __dir__)) end |
#set_defaults ⇒ Object
11 12 13 14 15 16 |
# File 'lib/capistrano/nomad.rb', line 11 def set_defaults set_if_empty(:nomad_jobs_path, "nomad/jobs") set_if_empty(:nomad_var_files_path, "nomad/var_files") set_if_empty(:nomad_ui_url, "http://localhost:4646") set_if_empty(:nomad_docker_image_alias, ->(**) {}) end |