et_full_system 6.0.0 → 6.0.3
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 +9 -7
- data/foreman/et3.env +1 -1
- data/lib/et_full_system/cli/local.rb +11 -10
- 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: 8193d6e43c4081ca1ddf8b3aace223b3fb5036fa8d4acb9e6c03eb1f234b955f
|
|
4
|
+
data.tar.gz: 1ba09dfad73265f495c2ad5f35386aa3574eb5e2ceb5bba09d014fdbda1bed6c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 074005d9cbb695b30b7a3e2155a7d453923dd6d93ef9df2e085fd0394b9336c10b34346fc884b2c7c704bb9eef22df824cd84c337d48f35b27cac36e4708dfa3
|
|
7
|
+
data.tar.gz: 00ee447354b1d733ebb5f0a4e77c6450da4cfbe1b2c5ccf8319a8a1f2b9350f15f6e0d1a2c481d3acd6eae0d8f642d4f77070ab4be52c5fff25c89d5e39c0d94
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
et_full_system (6.0.
|
|
4
|
+
et_full_system (6.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)
|
|
@@ -12,9 +12,9 @@ PATH
|
|
|
12
12
|
GEM
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
|
-
activemodel (6.1.5)
|
|
16
|
-
activesupport (= 6.1.5)
|
|
17
|
-
activesupport (6.1.5)
|
|
15
|
+
activemodel (6.1.5.1)
|
|
16
|
+
activesupport (= 6.1.5.1)
|
|
17
|
+
activesupport (6.1.5.1)
|
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
19
19
|
i18n (>= 1.6, < 2)
|
|
20
20
|
minitest (>= 5.1)
|
|
@@ -69,18 +69,20 @@ GEM
|
|
|
69
69
|
mime-types-data (~> 3.2015)
|
|
70
70
|
mime-types-data (3.2022.0105)
|
|
71
71
|
mini_mime (1.1.2)
|
|
72
|
+
mini_portile2 (2.8.0)
|
|
72
73
|
minitest (5.15.0)
|
|
73
74
|
multi_xml (0.6.0)
|
|
74
75
|
multipart-post (2.1.1)
|
|
75
|
-
nokogiri (1.13.
|
|
76
|
+
nokogiri (1.13.4)
|
|
77
|
+
mini_portile2 (~> 2.8.0)
|
|
76
78
|
racc (~> 1.4)
|
|
77
79
|
pastel (0.8.0)
|
|
78
80
|
tty-color (~> 0.5)
|
|
79
|
-
public_suffix (4.0.
|
|
81
|
+
public_suffix (4.0.7)
|
|
80
82
|
racc (1.6.0)
|
|
81
83
|
rack (2.2.3)
|
|
82
84
|
rake (13.0.1)
|
|
83
|
-
roda (3.
|
|
85
|
+
roda (3.55.0)
|
|
84
86
|
rack
|
|
85
87
|
roda-enhanced_logger (0.4.0)
|
|
86
88
|
roda (>= 3.19.0)
|
data/foreman/et3.env
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
REDIS_URL=redis://redis:6379/5
|
|
2
2
|
RAVEN_DSN='https://7f2374c2e0cd4650bf5129c9fe45215e:e0ae53d01bd7454da963790ee204ffa0@sentry.io/1376078'
|
|
3
|
-
ET_API_URL='http://api.et.127.0.0.1.nip.io:3100/api'
|
|
3
|
+
ET_API_URL='http://api.et.127.0.0.1.nip.io:3100/api/v2'
|
|
4
4
|
DB_NAME=et3_production
|
|
5
5
|
ROOT_URL=http://et3.et.127.0.0.1.nip.io:3100
|
|
@@ -6,6 +6,7 @@ module EtFullSystem
|
|
|
6
6
|
require 'httparty'
|
|
7
7
|
require 'et_full_system/cli/local/file_storage'
|
|
8
8
|
require 'dotenv'
|
|
9
|
+
require 'tmpdir'
|
|
9
10
|
|
|
10
11
|
class LocalCommand < Thor
|
|
11
12
|
DEFAULT_BASE_URL="http://localhost:3200"
|
|
@@ -348,7 +349,7 @@ module EtFullSystem
|
|
|
348
349
|
|
|
349
350
|
def setup_et1_service
|
|
350
351
|
puts "------------------------------------------------ SETTING UP ET1 SERVICE ---------------------------------------------------"
|
|
351
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
352
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
352
353
|
puts cmd
|
|
353
354
|
external_command cmd, 'et1 setup'
|
|
354
355
|
|
|
@@ -356,56 +357,56 @@ module EtFullSystem
|
|
|
356
357
|
puts cmd
|
|
357
358
|
external_command cmd, 'et1 setup'
|
|
358
359
|
|
|
359
|
-
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 exec rake db:create db:migrate assets:precompile\""
|
|
360
|
+
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 exec rake db:create db:migrate assets:precompile\""
|
|
360
361
|
puts cmd
|
|
361
362
|
external_command cmd, 'et1 setup'
|
|
362
363
|
end
|
|
363
364
|
|
|
364
365
|
def setup_et3_service
|
|
365
366
|
puts "------------------------------------------------ SETTING UP ET3 SERVICE ---------------------------------------------------"
|
|
366
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
367
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
367
368
|
puts cmd
|
|
368
369
|
external_command cmd, 'et3 setup'
|
|
369
370
|
|
|
370
|
-
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 exec rake db:create db:migrate assets:precompile\""
|
|
371
|
+
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 exec rake db:create db:migrate assets:precompile\""
|
|
371
372
|
puts cmd
|
|
372
373
|
external_command cmd, 'et3 setup'
|
|
373
374
|
end
|
|
374
375
|
|
|
375
376
|
def setup_admin_service
|
|
376
377
|
puts "------------------------------------------------ SETTING UP ADMIN SERVICE ---------------------------------------------------"
|
|
377
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
378
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
378
379
|
puts cmd
|
|
379
380
|
external_command cmd, 'admin setup'
|
|
380
381
|
|
|
381
382
|
puts "| Admin | Running rake commands"
|
|
382
|
-
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 exec rake db:seed assets:precompile\""
|
|
383
|
+
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 exec rake db:seed assets:precompile\""
|
|
383
384
|
puts cmd
|
|
384
385
|
external_command cmd, 'admin setup'
|
|
385
386
|
end
|
|
386
387
|
|
|
387
388
|
def setup_api_service
|
|
388
389
|
puts "------------------------------------------------ SETTING UP API SERVICE ---------------------------------------------------"
|
|
389
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
390
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
390
391
|
puts cmd
|
|
391
392
|
external_command cmd, 'api setup'
|
|
392
393
|
|
|
393
394
|
puts "| API | Running rake commands"
|
|
394
|
-
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 exec rake db:create db:migrate db:seed\""
|
|
395
|
+
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 exec rake db:create db:migrate db:seed\""
|
|
395
396
|
puts cmd
|
|
396
397
|
external_command cmd, 'api setup'
|
|
397
398
|
end
|
|
398
399
|
|
|
399
400
|
def setup_atos_service
|
|
400
401
|
puts "------------------------------------------------ SETTING UP ATOS SERVICE ---------------------------------------------------"
|
|
401
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
402
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
402
403
|
puts cmd
|
|
403
404
|
external_command cmd, 'atos setup'
|
|
404
405
|
end
|
|
405
406
|
|
|
406
407
|
def setup_ccd_service
|
|
407
408
|
puts "------------------------------------------------ SETTING UP CCD EXPORT SERVICE ---------------------------------------------------"
|
|
408
|
-
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
409
|
+
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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
|
|
409
410
|
puts cmd
|
|
410
411
|
external_command cmd, 'ccd setup'
|
|
411
412
|
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: 6.0.
|
|
4
|
+
version: 6.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: 2022-
|
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|