et_full_system 0.1.34 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/et_full_system/cli/docker.rb +12 -1
- data/lib/et_full_system/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0547ee7d9e74edca22ede181aebaf8b761b3508c16d21511e7bff0882e00e9ff
|
4
|
+
data.tar.gz: 498e5805993767638d33c0ed0246a6b464837432fe6673a35bba03f32c37fd73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2759d88ac445751937378a9db3388ef565a8bcc9994a198071b35f8a8005917125cecc862858a3042de9818ed367ae69916df041ba2fc4e0971e1f5ae01ea39f
|
7
|
+
data.tar.gz: d5baf4d075022159b8dfc82c937b7613225483b50b25d47e266979f23d2727d95dbd1e943e91748b18b65af493212545d7c52d41dee3d08a868d0d647ac9db88
|
data/Gemfile.lock
CHANGED
@@ -54,7 +54,18 @@ module EtFullSystem
|
|
54
54
|
def update_service_url(service, url)
|
55
55
|
Bundler.with_original_env do
|
56
56
|
gem_root = File.absolute_path('../../..', __dir__)
|
57
|
-
cmd = "/bin/bash --login -c \"et_full_system update_service_url #{service} #{url}\""
|
57
|
+
cmd = "/bin/bash --login -c \"et_full_system local update_service_url #{service} #{url}\""
|
58
|
+
compose_cmd = "docker-compose -f #{gem_root}/docker/docker-compose.yml exec et #{cmd}"
|
59
|
+
puts compose_cmd
|
60
|
+
exec(compose_cmd)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
desc "service_env SERVICE", "Returns the environment variables configured for the specified service"
|
65
|
+
def service_env(service)
|
66
|
+
Bundler.with_original_env do
|
67
|
+
gem_root = File.absolute_path('../../..', __dir__)
|
68
|
+
cmd = "/bin/bash --login -c \"et_full_system local service_env #{service} #{service}\""
|
58
69
|
compose_cmd = "docker-compose -f #{gem_root}/docker/docker-compose.yml exec et #{cmd}"
|
59
70
|
puts compose_cmd
|
60
71
|
exec(compose_cmd)
|