orchestration 0.3.16 → 0.3.17
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a45477bd5cd5d3aaf948247ed294c24509c59b55c3244d2bdb34d7adb50bf7d8
|
4
|
+
data.tar.gz: cc1be97aec363dabbe212d4bc5160651ec78b2f46ed3fe5461950c8392522adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e151308a54ac3048249820773ee5c2657fd1e6f1cfa2d8429ccfae1782bb77bc6413dcdd55a010004fc6b869eae9e057f89b52101eb9af5e9c236d34c08ccb49
|
7
|
+
data.tar.gz: 472e8a63dbd0277c2bc6a5e6cfc5c24ab69b27a132109f08f097288c8958c6ad0f7c1565c60db5b6075f4ee7dc1eaa49b1c7d46908995cb7b7e4c55cccb4c2ca
|
data/README.md
CHANGED
data/config/locales/en.yml
CHANGED
@@ -33,11 +33,11 @@ en:
|
|
33
33
|
settings:
|
34
34
|
docker:
|
35
35
|
organization:
|
36
|
-
description: "
|
36
|
+
description: "Registry organization/username"
|
37
37
|
prompt: "organization"
|
38
38
|
|
39
39
|
repository:
|
40
|
-
description: "Project name
|
40
|
+
description: "Project name/Docker repository name"
|
41
41
|
prompt: "project name"
|
42
42
|
|
43
43
|
rake:
|
@@ -10,7 +10,7 @@ module Orchestration
|
|
10
10
|
|
11
11
|
def definition
|
12
12
|
{
|
13
|
-
'image' =>
|
13
|
+
'image' => image,
|
14
14
|
'environment' => environment,
|
15
15
|
'ports' => ports
|
16
16
|
}
|
@@ -18,6 +18,10 @@ module Orchestration
|
|
18
18
|
|
19
19
|
private
|
20
20
|
|
21
|
+
def image
|
22
|
+
'${DOCKER_ORGANIZATION}/${DOCKER_REPOSITORY}'
|
23
|
+
end
|
24
|
+
|
21
25
|
def environment
|
22
26
|
{
|
23
27
|
'RAILS_LOG_TO_STDOUT' => '1',
|
@@ -135,7 +135,10 @@ migrate:
|
|
135
135
|
.PHONY: migrate-container
|
136
136
|
migrate-container:
|
137
137
|
@echo "[app] Running migrations..."
|
138
|
-
|
138
|
+
ifdef env_file
|
139
|
+
@cp ${env_file} ./.env
|
140
|
+
endif
|
141
|
+
${compose} run --rm app bundle exec rake db:migrate
|
139
142
|
@echo "[app] Migrations complete."
|
140
143
|
|
141
144
|
### Service healthcheck commands ###
|
@@ -169,6 +172,10 @@ ifeq (${env},$(filter ${env},test development))
|
|
169
172
|
@${rake} orchestration:rabbitmq:wait
|
170
173
|
endif
|
171
174
|
|
175
|
+
.PHONY: wait-app
|
176
|
+
wait-app:
|
177
|
+
@# no-op
|
178
|
+
|
172
179
|
### Docker build commands ###
|
173
180
|
|
174
181
|
.PHONY: build
|
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.17
|
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-02-
|
11
|
+
date: 2019-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|