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 +4 -4
- data/lib/ecsutil/aws.rb +7 -2
- data/lib/ecsutil/version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78f9398db6b9c6ef69f0c2eb8db1fae81c875a72464568d97bff5e77ea216de8
|
4
|
+
data.tar.gz: 1a63baf725220ce597eef9cc71772536e4cd5a2f2a38f51285e76988453013e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0cd8207dcbf9c6135c5780f965c982b95a5d7e50abd6ed850cc13c4f4b5231b1653e9d5062ba4a90d3a84af8fc15dbdf1868fb87dcc16fa9b87ce03be1ac5c6
|
7
|
+
data.tar.gz: cdd37189f34e7e9603a391d3f2cd823f7584a8e9ca98fd13f77d8fcfe4171fc29c98d4c5b3f81d4d9f41095f4c452ca1fda199cef2a06722f7faea3c93b6129e
|
data/lib/ecsutil/aws.rb
CHANGED
@@ -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:
|
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
|
data/lib/ecsutil/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module ECSUtil
|
2
|
-
VERSION = "0.1.
|
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.
|
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-
|
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: []
|