centurion 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/centurion.gemspec +5 -2
- data/lib/centurion/service.rb +1 -1
- data/lib/centurion/ssh.rb +1 -0
- data/lib/centurion/version.rb +1 -1
- metadata +46 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac03d4fc21a9efcf750ccd198928a0255d2311f1
|
4
|
+
data.tar.gz: ebad4c24d759292f10cd2e582d953c54f7167095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca285ef63081ec02af434daeeb9cc0d8c0f0e141188eeddfba4b360ae16f1916ba62b4d44651817f68a76f13b3c76e0c6c08e7ae6af1c627ac3bec5541a76968
|
7
|
+
data.tar.gz: b377170c8d4d0012f56ea9b61f1a64e3d64cec149ae2ed1aa8feae8a9fb886d856d2de87b17fd7badcb28c03ca17dc2e4f51485f209256c046b55bee2a62a5de
|
data/centurion.gemspec
CHANGED
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
|
|
10
10
|
'Nic Benders', 'Karl Matthias', 'Andrew Bloomgarden', 'Aaron Bento',
|
11
11
|
'Paul Showalter', 'David Kerr', 'Jonathan Owens', 'Jon Guymon',
|
12
12
|
'Merlyn Albery-Speyer', 'Amjith Ramanujam', 'David Celis', 'Emily Hyland',
|
13
|
-
'Bryan Stearns']
|
13
|
+
'Bryan Stearns', 'Sean P. Kane']
|
14
14
|
spec.email = [
|
15
15
|
'nic@newrelic.com', 'kmatthias@newrelic.com', 'andrew@newrelic.com',
|
16
16
|
'aaron@newrelic.com', 'poeslacker@gmail.com', 'dkerr@newrelic.com',
|
17
17
|
'jonathan@newrelic.com', 'jon@newrelic.com', 'merlyn@newrelic.com',
|
18
18
|
'amjith@newrelic.com', 'dcelis@newrelic.com', 'ehyland@newrelic.com',
|
19
|
-
'bryan@newrelic.com']
|
19
|
+
'bryan@newrelic.com', 'skane@newrelic.com']
|
20
20
|
spec.summary = <<-EOS.gsub(/^\s+/, '')
|
21
21
|
A deployment tool for Docker. Takes containers from a Docker registry and
|
22
22
|
runs them on a fleet of hosts with the correct environment variables, host
|
@@ -37,6 +37,9 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency 'excon', '~> 0.33'
|
38
38
|
spec.add_dependency 'logger-colors'
|
39
39
|
spec.add_dependency 'net-ssh'
|
40
|
+
spec.add_dependency 'rbnacl'
|
41
|
+
spec.add_dependency 'rbnacl-libsodium'
|
42
|
+
spec.add_dependency 'bcrypt_pbkdf'
|
40
43
|
spec.add_dependency 'sshkit'
|
41
44
|
|
42
45
|
spec.add_development_dependency 'bundler'
|
data/lib/centurion/service.rb
CHANGED
@@ -178,7 +178,7 @@ module Centurion
|
|
178
178
|
host_config['RestartPolicy'] = {}
|
179
179
|
|
180
180
|
restart_policy_name = restart_policy.name
|
181
|
-
restart_policy_name = 'on-failure' unless ["always", "on-failure", "no"].include?(restart_policy_name)
|
181
|
+
restart_policy_name = 'on-failure' unless ["always", "on-failure", "no", "unless-stopped"].include?(restart_policy_name)
|
182
182
|
|
183
183
|
host_config['RestartPolicy']['Name'] = restart_policy_name
|
184
184
|
host_config['RestartPolicy']['MaximumRetryCount'] = restart_policy.max_retry_count || 10 if restart_policy_name == 'on-failure'
|
data/lib/centurion/ssh.rb
CHANGED
data/lib/centurion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: centurion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Benders
|
@@ -17,10 +17,11 @@ authors:
|
|
17
17
|
- David Celis
|
18
18
|
- Emily Hyland
|
19
19
|
- Bryan Stearns
|
20
|
+
- Sean P. Kane
|
20
21
|
autorequire:
|
21
22
|
bindir: bin
|
22
23
|
cert_chain: []
|
23
|
-
date:
|
24
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
24
25
|
dependencies:
|
25
26
|
- !ruby/object:Gem::Dependency
|
26
27
|
name: trollop
|
@@ -78,6 +79,48 @@ dependencies:
|
|
78
79
|
- - ">="
|
79
80
|
- !ruby/object:Gem::Version
|
80
81
|
version: '0'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rbnacl
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :runtime
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rbnacl-libsodium
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: bcrypt_pbkdf
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
type: :runtime
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
81
124
|
- !ruby/object:Gem::Dependency
|
82
125
|
name: sshkit
|
83
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,6 +220,7 @@ email:
|
|
177
220
|
- dcelis@newrelic.com
|
178
221
|
- ehyland@newrelic.com
|
179
222
|
- bryan@newrelic.com
|
223
|
+
- skane@newrelic.com
|
180
224
|
executables:
|
181
225
|
- centurion
|
182
226
|
- centurionize
|