ecsutil 0.1.0 → 0.1.1

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: aeb2f9770b7183831199b073f64629a5c7d804bc3cbe3b17c95dda700d57d93c
4
- data.tar.gz: 83f7201fe909f6379c3ca0b5851925f269bd992a320906154f27e5db758c61f2
3
+ metadata.gz: 78f9398db6b9c6ef69f0c2eb8db1fae81c875a72464568d97bff5e77ea216de8
4
+ data.tar.gz: 1a63baf725220ce597eef9cc71772536e4cd5a2f2a38f51285e76988453013e6
5
5
  SHA512:
6
- metadata.gz: aeda8bbb5d7a008583aa6edd4a814081312acbd0929f62d7f0358065b853a05feca66fda7deef85eae03d4e43ff8e8aea9909d2417363933e3a5f77f9d5323bd
7
- data.tar.gz: '0093c78233a8467aa795e9ef72cfcc866fdaff876de97caeaa39d2c09cb1de00ac0c5ad1090a185e8890d25d805ed2336d64c7ef856a7bcc5e3f26ebcaf3f17e'
6
+ metadata.gz: e0cd8207dcbf9c6135c5780f965c982b95a5d7e50abd6ed850cc13c4f4b5231b1653e9d5062ba4a90d3a84af8fc15dbdf1868fb87dcc16fa9b87ce03be1ac5c6
7
+ data.tar.gz: cdd37189f34e7e9603a391d3f2cd823f7584a8e9ca98fd13f77d8fcfe4171fc29c98d4c5b3f81d4d9f41095f4c452ca1fda199cef2a06722f7faea3c93b6129e
@@ -110,6 +110,11 @@ module ECSUtil
110
110
  end
111
111
  end
112
112
 
113
+ image = config["repository"].to_s
114
+ unless image.split("/").last.include?(":")
115
+ image << ":#{config["git_commit"]}"
116
+ end
117
+
113
118
  {
114
119
  family: "#{service_name}-#{service_env}-#{task_name}",
115
120
  taskRoleArn: config["roles"]["task"],
@@ -122,7 +127,7 @@ module ECSUtil
122
127
  {
123
128
  name: task_name,
124
129
  command: task["command"] ? task["command"].split(" ") : nil,
125
- image: "#{config["repository"]}:#{config["git_commit"]}",
130
+ image: image,
126
131
  environment: env,
127
132
  secrets: secrets,
128
133
  logConfiguration: log_config,
@@ -255,4 +260,4 @@ module ECSUtil
255
260
  aws_call("ecs", "delete-service", "--cluster=#{config["cluster"]} --service=#{service_name}")
256
261
  end
257
262
  end
258
- end
263
+ end
@@ -1,3 +1,3 @@
1
1
  module ECSUtil
2
- VERSION = "0.1.0"
3
- end
2
+ VERSION = "0.1.1"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecsutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Sosedoff
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-04 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -101,7 +101,7 @@ homepage: ''
101
101
  licenses:
102
102
  - MIT
103
103
  metadata: {}
104
- post_install_message:
104
+ post_install_message:
105
105
  rdoc_options: []
106
106
  require_paths:
107
107
  - lib
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubygems_version: 3.0.6
120
- signing_key:
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: TBD
123
123
  test_files: []