et_full_system 3.0.7 → 3.0.8
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/lib/et_full_system/cli/docker/server.rb +1 -5
- 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: 904b2a0ef49ec4eaffe39dbbd3bc36a734f97e733047e5023a4123e7db756752
|
4
|
+
data.tar.gz: b4c2ee4a81dd944b1c30fb4d94a1a21abf48b94c180c90122656b33756ade71f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65da2ee12b7b57b1287929a48eecb2b7dd9cd0eea772ecdbc96b31713b78f315358ed09d24f3ea476811a116090ceb0bc119e88f1e0c4fa5efbd51433e85e3a3
|
7
|
+
data.tar.gz: b336ee8f466eaeddbbe6150f62926c8fadafde07fb9ae01d495d41206a36ad424a30d323da3523601d7313533e8051fdfa262b65c5efe4367575edff4925a069
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,6 @@ module EtFullSystem
|
|
14
14
|
method_option :use_selenium, type: :boolean, default: false, aliases: 'use-selenium', desc: 'Only used if with_test is true - says to use selenium in preference to zalenium'
|
15
15
|
method_option :chrome_instances, type: :numeric, default: 1, aliases: 'chrome-instances', desc: 'Specify the number of chrome instances for selenium'
|
16
16
|
method_option :firefox_instances, type: :numeric, default: 1, aliases: 'firefox-instances', desc: 'Specify the number of firefox instances for selenium'
|
17
|
-
method_option :record_video, type: :boolean, default: false, aliases: 'record-video', desc: 'When using zalenium, enable video recording'
|
18
17
|
method_option :minimal, type: :boolean, default: false, desc: 'Set to true to only start the minimum (db, redis, mail, s3, azure blob, fake_acas, fake_ccd)'
|
19
18
|
def up(*args)
|
20
19
|
unbundled do
|
@@ -35,16 +34,13 @@ module EtFullSystem
|
|
35
34
|
env_vars << "CCD_SIDAM_PASSWORD=Pa55word11"
|
36
35
|
env_vars << "CCD_GENERATE_ETHOS_CASE_REFERENCE=true"
|
37
36
|
end
|
38
|
-
extra_args = []
|
37
|
+
extra_args = ['--no-recreate']
|
39
38
|
if options.with_test? && options.use_selenium?
|
40
39
|
extra_args.concat(["--scale chrome=#{options.chrome_instances}"])
|
41
40
|
extra_args.concat(["--scale firefox=#{options.firefox_instances}"])
|
42
41
|
else
|
43
42
|
extra_args.concat(['--scale selenium-hub=0', '--scale chrome=0', '--scale firefox=0'])
|
44
43
|
end
|
45
|
-
unless options.with_test? && !options.use_selenium?
|
46
|
-
extra_args.concat(['--scale zalenium=0'])
|
47
|
-
end
|
48
44
|
env_vars << "DB_PORT=#{ENV.fetch('DB_PORT', EtFullSystem.is_port_open?(5432) ? 0 : 5432)}"
|
49
45
|
env_vars << "REDIS_PORT=#{ENV.fetch('REDIS_PORT', EtFullSystem.is_port_open?(6379) ? 0 : 6379)}"
|
50
46
|
gem_root = File.absolute_path('../../../..', __dir__)
|