Class: EcsDeployCli::Runners::Status
- Defined in:
- lib/ecs_deploy_cli/runners/status.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EcsDeployCli::Runners::Base
Instance Method Details
#run!(service) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ecs_deploy_cli/runners/status.rb', line 6 def run!(service) services, = @parser.resolve services.each do |service_name, service_definition| next if !service.nil? && service != service_name # task_definition = _update_task resolved_tasks[service_definition.options[:task]] # task_name = "#{task_definition[:family]}:#{task_definition[:revision]}" puts ecs_client.describe_service( cluster: config[:cluster], service: service_name ) end end |