Class: Gmortar::FireCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/gmortar/fire_command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



15
16
17
18
19
20
21
22
23
24
# File 'lib/gmortar/fire_command.rb', line 15

def execute
  variables = [
    [:gke_region, gke_region],
    [:gke_name, gke_name],
    [:variables, var_list],
    [:shot, name],
  ]

  Gmortar.run project, "fire.yaml", source: source, variables: variables, name: name, debug: debug?
end