ecs_deploy 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b008d513950d8b8e5abab3400d9c123dfe22fa7ab0bce2db9fc13d398359ccf
4
- data.tar.gz: 8b3096d4cbe25b0febf667b560a0202e915ab9eee2a511b50dc50d61938805b3
3
+ metadata.gz: 3988729fd28cd6cfb8fb6f36869855b1bbc468899d453a38e7415552a81c13aa
4
+ data.tar.gz: 73543aa973eadf609e049355064cd98e6ce18c448b69be6c1920e6cfee9fffa7
5
5
  SHA512:
6
- metadata.gz: 1822d8b4ef6bf0392565918ee6bfe1df2d04e0ad376cb895497fbdd4029523f1db00452dd11f00c3c5acdedafa17039bfd49aebd8b16b4261cffb03a605a5fe9
7
- data.tar.gz: 7a395b568354d77868bcd7b9c3d469550f8905fde2640bdace1e014d0639d5ab0a7f6f7b0f94fa6c2928c770a05837783c5994ce702c7fc31c744bc58ee46648
6
+ metadata.gz: 95495a3d6fdfaaaf4c7e5197f2f2107905310a0df36dc26197a43e8defe4e1721b9de45eed68a89e8aa50d3187df54590814544806b0e1b719e387bc774005af
7
+ data.tar.gz: 5e09d4a796fa051db972f5fd70c52ceb96058690123a3cc583aaf4642ebabf9e80cd225afcf64e67af9078944cb4ba013142f9923d9b6d8549d654401fa5edb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # v1.0
2
2
 
3
+ ## Release v1.0.2 - 2021/05/26
4
+
5
+ ### Enhancement
6
+
7
+ * add option enable_execute_command to support ECS Exec
8
+ https://github.com/reproio/ecs_deploy/pull/69
9
+
3
10
  ## Release v1.0.1 - 2021/05/19
4
11
 
5
12
  ### Enhancement
@@ -108,6 +108,7 @@ namespace :ecs do
108
108
  enable_ecs_managed_tags: service[:enable_ecs_managed_tags],
109
109
  tags: service[:tags],
110
110
  propagate_tags: service[:propagate_tags],
111
+ enable_execute_command: service[:enable_execute_command],
111
112
  }
112
113
  service_options[:deployment_configuration] = service[:deployment_configuration] if service[:deployment_configuration]
113
114
  service_options[:placement_constraints] = service[:placement_constraints] if service[:placement_constraints]
@@ -23,7 +23,8 @@ module EcsDeploy
23
23
  tags: nil,
24
24
  propagate_tags: nil,
25
25
  region: nil,
26
- delete: false
26
+ delete: false,
27
+ enable_execute_command: false
27
28
  )
28
29
  @cluster = cluster
29
30
  @service_name = service_name
@@ -41,6 +42,7 @@ module EcsDeploy
41
42
  @enable_ecs_managed_tags = enable_ecs_managed_tags
42
43
  @tags = tags
43
44
  @propagate_tags = propagate_tags
45
+ @enable_execute_command = enable_execute_command
44
46
 
45
47
  @response = nil
46
48
 
@@ -64,6 +66,7 @@ module EcsDeploy
64
66
  deployment_configuration: @deployment_configuration,
65
67
  network_configuration: @network_configuration,
66
68
  health_check_grace_period_seconds: @health_check_grace_period_seconds,
69
+ enable_execute_command: @enable_execute_command,
67
70
  }
68
71
  if res.services.select{ |s| s.status == 'ACTIVE' }.empty?
69
72
  return if @delete
@@ -1,3 +1,3 @@
1
1
  module EcsDeploy
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-20 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-autoscaling