et_full_system 8.0.1 → 8.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -17
- data/docker/docker-compose.yml +1 -1
- data/lib/et_full_system/cli/local.rb +14 -6
- data/lib/et_full_system/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a350b05415d7344bc33b8c18cd042599d5f307c1c33e78b4bdac71d26e4eb971
|
4
|
+
data.tar.gz: 9524bbcae757362c3963ca7fd94b37e883c82184be4f4364e2915a0b379dd7e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74be420ab9e61254c6a2046d5e4da067dcf377b9c9b9fc4ee2115502b0c25e6074606e93f9fcbca4e583074acb5b7a7eb5fe0aca9c7ff8827a1d4cd91bc170bc
|
7
|
+
data.tar.gz: 7a730b292cc6119104b50e9ce07c8b42da40ca2aabea7dfccdc119341174ea1e615c0b2ae58069230de8819fde15a7f4dec6a76b47e8e77221a4a1064198436c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
et_full_system (8.0.
|
4
|
+
et_full_system (8.0.3)
|
5
5
|
azure-storage (~> 0.15.0.preview)
|
6
6
|
dotenv (~> 2.7, >= 2.7.2)
|
7
7
|
et_fake_ccd (~> 1.0)
|
@@ -31,8 +31,8 @@ GEM
|
|
31
31
|
faraday (~> 0.9)
|
32
32
|
faraday_middleware (~> 0.10)
|
33
33
|
nokogiri (~> 1.6, >= 1.6.8)
|
34
|
-
concurrent-ruby (1.2.
|
35
|
-
date (3.
|
34
|
+
concurrent-ruby (1.2.2)
|
35
|
+
date (3.0.3)
|
36
36
|
dotenv (2.8.1)
|
37
37
|
et_fake_ccd (1.1.11)
|
38
38
|
activemodel (~> 6.1)
|
@@ -64,49 +64,45 @@ GEM
|
|
64
64
|
json-schema (2.8.1)
|
65
65
|
addressable (>= 2.4)
|
66
66
|
jwt (2.7.0)
|
67
|
-
mail (2.8.
|
67
|
+
mail (2.8.1)
|
68
68
|
mini_mime (>= 0.1.1)
|
69
69
|
net-imap
|
70
70
|
net-pop
|
71
71
|
net-smtp
|
72
72
|
mini_mime (1.1.2)
|
73
|
-
|
74
|
-
minitest (5.17.0)
|
73
|
+
minitest (5.13.0)
|
75
74
|
multi_xml (0.6.0)
|
76
75
|
multipart-post (2.3.0)
|
77
76
|
net-imap (0.3.4)
|
78
77
|
date
|
79
78
|
net-protocol
|
80
|
-
net-pop (0.1.
|
81
|
-
net-protocol
|
79
|
+
net-pop (0.1.0)
|
82
80
|
net-protocol (0.2.1)
|
83
81
|
timeout
|
84
|
-
net-smtp (0.
|
85
|
-
|
86
|
-
nokogiri (1.14.1)
|
87
|
-
mini_portile2 (~> 2.8.0)
|
82
|
+
net-smtp (0.1.0)
|
83
|
+
nokogiri (1.14.2-x86_64-linux)
|
88
84
|
racc (~> 1.4)
|
89
85
|
pastel (0.8.0)
|
90
86
|
tty-color (~> 0.5)
|
91
87
|
public_suffix (5.0.1)
|
92
|
-
racc (1.
|
88
|
+
racc (1.4.16)
|
93
89
|
rack (3.0.4.1)
|
94
90
|
rake (13.0.1)
|
95
|
-
roda (3.
|
91
|
+
roda (3.65.0)
|
96
92
|
rack
|
97
93
|
roda-enhanced_logger (0.4.0)
|
98
94
|
roda (>= 3.19.0)
|
99
95
|
tty-logger (>= 0.3, < 1.0)
|
100
96
|
rotp (6.2.2)
|
101
97
|
thor (1.2.1)
|
102
|
-
tilt (2.0
|
103
|
-
timeout (0.
|
98
|
+
tilt (2.1.0)
|
99
|
+
timeout (0.1.0)
|
104
100
|
tty-color (0.6.0)
|
105
101
|
tty-logger (0.6.0)
|
106
102
|
pastel (~> 0.8)
|
107
103
|
tzinfo (2.0.6)
|
108
104
|
concurrent-ruby (~> 1.0)
|
109
|
-
zeitwerk (2.6.
|
105
|
+
zeitwerk (2.6.7)
|
110
106
|
|
111
107
|
PLATFORMS
|
112
108
|
ruby
|
data/docker/docker-compose.yml
CHANGED
@@ -142,6 +142,7 @@ module EtFullSystem
|
|
142
142
|
method_option :in_docker_compose, type: :boolean, default: false, desc: 'Set to true to assume certain services are in docker compose'
|
143
143
|
def setup
|
144
144
|
setup_depencencies
|
145
|
+
install_bundler if rvm_installed?
|
145
146
|
setup_ruby_versions unless !rvm_installed? || options.in_docker_compose?
|
146
147
|
setup_services
|
147
148
|
end
|
@@ -360,7 +361,7 @@ module EtFullSystem
|
|
360
361
|
|
361
362
|
def setup_et1_service
|
362
363
|
puts "------------------------------------------------ SETTING UP ET1 SERVICE ---------------------------------------------------"
|
363
|
-
cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et1.env\"
|
364
|
+
cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et1.env\" && bundle install --with=#{options[:rails_env]}\""
|
364
365
|
puts cmd
|
365
366
|
external_command cmd, 'et1 setup'
|
366
367
|
|
@@ -375,7 +376,7 @@ module EtFullSystem
|
|
375
376
|
|
376
377
|
def setup_et3_service
|
377
378
|
puts "------------------------------------------------ SETTING UP ET3 SERVICE ---------------------------------------------------"
|
378
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et3.env\"
|
379
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle install --with=#{options[:rails_env]}\""
|
379
380
|
puts cmd
|
380
381
|
external_command cmd, 'et3 setup'
|
381
382
|
|
@@ -386,7 +387,7 @@ module EtFullSystem
|
|
386
387
|
|
387
388
|
def setup_admin_service
|
388
389
|
puts "------------------------------------------------ SETTING UP ADMIN SERVICE ---------------------------------------------------"
|
389
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_admin.env\"
|
390
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle install --with=#{options[:rails_env]}\""
|
390
391
|
puts cmd
|
391
392
|
external_command cmd, 'admin setup'
|
392
393
|
|
@@ -398,7 +399,7 @@ module EtFullSystem
|
|
398
399
|
|
399
400
|
def setup_api_service
|
400
401
|
puts "------------------------------------------------ SETTING UP API SERVICE ---------------------------------------------------"
|
401
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\"
|
402
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle install --with=#{options[:rails_env]}\""
|
402
403
|
puts cmd
|
403
404
|
external_command cmd, 'api setup'
|
404
405
|
|
@@ -410,14 +411,14 @@ module EtFullSystem
|
|
410
411
|
|
411
412
|
def setup_atos_service
|
412
413
|
puts "------------------------------------------------ SETTING UP ATOS SERVICE ---------------------------------------------------"
|
413
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_atos.env\"
|
414
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_atos.env\" bundle install --with=#{options[:rails_env]}\""
|
414
415
|
puts cmd
|
415
416
|
external_command cmd, 'atos setup'
|
416
417
|
end
|
417
418
|
|
418
419
|
def setup_ccd_service
|
419
420
|
puts "------------------------------------------------ SETTING UP CCD EXPORT SERVICE ---------------------------------------------------"
|
420
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_ccd_export.env\"
|
421
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_ccd_export.env\" bundle install --with=#{options[:rails_env]}\""
|
421
422
|
puts cmd
|
422
423
|
external_command cmd, 'ccd setup'
|
423
424
|
end
|
@@ -505,5 +506,12 @@ module EtFullSystem
|
|
505
506
|
def rvm_installed?
|
506
507
|
!`which rvm`.empty?
|
507
508
|
end
|
509
|
+
|
510
|
+
def install_bundler
|
511
|
+
puts "------------------------------------------------ Installing bundler ---------------------------------------------------"
|
512
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH} && gem install bundler:1.17.3\""
|
513
|
+
puts cmd
|
514
|
+
external_command cmd, 'ccd setup'
|
515
|
+
end
|
508
516
|
end
|
509
517
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et_full_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|