et_full_system 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docker/docker-compose.yml +1 -1
- data/lib/et_full_system/cli/docker/server.rb +5 -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: 31e0bf006d45601d986f668305257d16c7bcf4a466ef2cba629e38f0c9d76f5a
|
|
4
|
+
data.tar.gz: 32d21c8d3dae81b1a91d7712d3b1d6602e64fbf97410a35c85b740a591ef6844
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe71c6df65341ceb748bd68f10620d99c5ff07aac37ab18d4b62ed185d76f6490e33cdc91ffc444692193a4cb8619fccbf6c991acb9b6f091a1d2cbc7ce8d2b1
|
|
7
|
+
data.tar.gz: e0fb0b4caa9a7aa5b230814e78975c93dfe4ec2e6fe8080ebbe4d6eed45afb6749529655226b07bf3bd95b7603b757d73073b82bd52c7bdce354dc1bd08b93ab
|
data/Gemfile.lock
CHANGED
data/docker/docker-compose.yml
CHANGED
|
@@ -40,7 +40,7 @@ services:
|
|
|
40
40
|
CLOUD_PROVIDER: ${CLOUD_PROVIDER:-amazon}
|
|
41
41
|
AZURITE_STORAGE_PATH: /home/app/azure_storage_data
|
|
42
42
|
MINIO_STORAGE_PATH: /home/app/minio_data
|
|
43
|
-
command: /bin/bash --login -c "cd /home/app/full_system && et_full_system local server"
|
|
43
|
+
command: /bin/bash --login -c "cd /home/app/full_system && et_full_system local server ${SERVER_ARGS}"
|
|
44
44
|
links:
|
|
45
45
|
- "db"
|
|
46
46
|
- "redis"
|
|
@@ -7,10 +7,14 @@ module EtFullSystem
|
|
|
7
7
|
class ServerCommand < Thor
|
|
8
8
|
BEFORE_BOOT_SCRIPT =
|
|
9
9
|
desc "up", "Starts the full system server on docker"
|
|
10
|
+
method_option :without, type: :array, default: [], banner: "service1 service2", desc: "If specified, disables the specified services from running. The services are et1_web, et1_sidekiq, et3_web, mail_web, api_web, api_sidekiq, admin_web, atos_api_web, s3_web, azure_blob_web, fake_acas_web"
|
|
10
11
|
def up(*args)
|
|
11
12
|
Bundler.with_original_env do
|
|
13
|
+
server_args = []
|
|
14
|
+
server_args << "--without=#{options[:without].join(' ')}" unless options[:without].empty?
|
|
15
|
+
env_vars = "SERVER_ARGS='#{server_args.join(' ')}'"
|
|
12
16
|
gem_root = File.absolute_path('../../../..', __dir__)
|
|
13
|
-
cmd = "docker-compose -f #{gem_root}/docker/docker-compose.yml up #{args.join(' ')}"
|
|
17
|
+
cmd = "#{env_vars} docker-compose -f #{gem_root}/docker/docker-compose.yml up #{args.join(' ')}"
|
|
14
18
|
puts cmd
|
|
15
19
|
exec(cmd)
|
|
16
20
|
end
|