orchestration 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/TODO +5 -0
- data/lib/orchestration/services/app/configuration.rb +7 -0
- data/lib/orchestration/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9afb24c9efeefd9ccd9799fa399c7ff62f4f0f6cc242e62363503138c7403784
|
4
|
+
data.tar.gz: e1da14692011a5ef18572265418050273ea8013a572a1f225afbc09f7f7f40b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2694f7b030351f1e02483c80d071cd070cf626bcfc8787580c058f96a5f5cf9c42bb0c82e09cb8d1e9bd32aba249f4874699f126f1593e2335f794e7d472bf5
|
7
|
+
data.tar.gz: 1d9fe30e7fd4b3320fb90dd05bd34456c45ed82dfe9ab21a2f176aa78141d97d3f94012bb19407c848c4b45876e03bd564bccaffe9d2364bbca9cfc5417f263c
|
data/README.md
CHANGED
data/TODO
CHANGED
@@ -17,3 +17,8 @@ Provide a way of declaratively configuring bespoke healthchecks.
|
|
17
17
|
|
18
18
|
Auto-healthcheck any services with a local port bind using the Listener
|
19
19
|
healthcheck.
|
20
|
+
|
21
|
+
Add remote Docker swarm management.
|
22
|
+
https://github.com/mikejmoore/docker-swarm-sdk
|
23
|
+
|
24
|
+
Add scp and ssh execution of docker-compose bundle to servers.
|
@@ -31,8 +31,15 @@ module Orchestration
|
|
31
31
|
|
32
32
|
def database_url
|
33
33
|
settings = database_settings
|
34
|
+
return nil if settings.nil?
|
34
35
|
return nil if settings.fetch('adapter') == 'sqlite3'
|
35
36
|
|
37
|
+
build_database_url(settings)
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def build_database_url(settings)
|
36
43
|
scheme = settings.fetch('scheme')
|
37
44
|
database = settings.fetch('database')
|
38
45
|
username = settings.fetch('username')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchestration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Farrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|