Method: ContainerShip::CLI#exec

Defined in:
lib/container_ship/cli.rb

#exec(cluster_name, service_name, environment, build_number) ⇒ Object



22
23
24
25
26
27
28
29
30
# File 'lib/container_ship/cli.rb', line 22

def exec(cluster_name, service_name, environment, build_number)
  timeout = options['timeout']
  no_wait = options['no_wait']
  Command::ExecCommand.new.run(
    cluster_name, service_name, environment, build_number,
    timeout: timeout,
    no_wait: no_wait
  )
end