et_full_system 0.1.33 → 0.1.34

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: c818ace991da8969b0d41e26996ad30ba41a8f9524f2605cdfe1cab94ac6e6b9
4
- data.tar.gz: f75cde9fc9eea527578b1b6e771eefc71fd91ca0b8c11347272c2eaef3a260f4
3
+ metadata.gz: 31e0bf006d45601d986f668305257d16c7bcf4a466ef2cba629e38f0c9d76f5a
4
+ data.tar.gz: 32d21c8d3dae81b1a91d7712d3b1d6602e64fbf97410a35c85b740a591ef6844
5
5
  SHA512:
6
- metadata.gz: d6fbda28d6fd13920d440976ca59aac4323c1a935bd4cd658b63827598c984ce17bbe0af84ae720a40c42cc45a6107f1b66fc53d04f91f4a81a2f7f8322b72ff
7
- data.tar.gz: 6e1b4f67f79399be6c09d57fa690e56b4b5d5302286b7668a4ff3d38c626a398dfbcfa07e35c92680cb85357c2b826811d324c8af5949bf43e4edca12a60eb4d
6
+ metadata.gz: fe71c6df65341ceb748bd68f10620d99c5ff07aac37ab18d4b62ed185d76f6490e33cdc91ffc444692193a4cb8619fccbf6c991acb9b6f091a1d2cbc7ce8d2b1
7
+ data.tar.gz: e0fb0b4caa9a7aa5b230814e78975c93dfe4ec2e6fe8080ebbe4d6eed45afb6749529655226b07bf3bd95b7603b757d73073b82bd52c7bdce354dc1bd08b93ab
data/Gemfile.lock CHANGED
@@ -14,7 +14,7 @@ GIT
14
14
  PATH
15
15
  remote: .
16
16
  specs:
17
- et_full_system (0.1.33)
17
+ et_full_system (0.1.34)
18
18
  aws-sdk-s3 (~> 1.9)
19
19
  azure-storage (~> 0.15.0.preview)
20
20
  dotenv (~> 2.7, >= 2.7.2)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "0.1.33"
2
+ VERSION = "0.1.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_full_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor