Sha256: bf3ae3acb8096dd4a7d06693493f0bb5d25d67ff45be3cc2c7da63772d87e03e

Contents?: true

Size: 394 Bytes

Versions: 12

Compression:

Stored size: 394 Bytes

Contents

require 'bundler/setup'
require 'ecs_deployer'
require 'config'

Config.load_and_set_settings('config.yml', 'config.local.yml')

task_path = File.expand_path(Settings.task_path)

deployer = EcsDeployer::Client.new(Settings.cluster)
task_definition = deployer.task.register(task_path, tag: 'latest')
service = deployer.service.update(Settings.service, task_definition)

puts service.service_arn

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ecs_deployer-2.2.2 example/update_service.rb
ecs_deployer-2.2.1 example/update_service.rb
ecs_deployer-2.2.0 example/update_service.rb
ecs_deployer-2.1.13 example/update_service.rb
ecs_deployer-2.1.12 example/update_service.rb
ecs_deployer-2.1.11 example/update_service.rb
ecs_deployer-2.1.10 example/update_service.rb
ecs_deployer-2.1.9 example/update_service.rb
ecs_deployer-2.1.8 example/update_service.rb
ecs_deployer-2.1.7 example/update_service.rb
ecs_deployer-2.1.6 example/update_service.rb
ecs_deployer-2.1.5 example/update_service.rb