et_full_system 8.0.1 → 8.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f706e8b1dfa087b7b491b78d590f698708120211b7f445bfea2be0316875d82
4
- data.tar.gz: 1a9a8d9f965c86d74b52855791022d4b1b003aa0666e388f04fdf7d3385c1987
3
+ metadata.gz: 1f583e690be55a34d7fac2d3487e46b3e6827b12b9b5d09925e40758d6261656
4
+ data.tar.gz: 7fffbe9a2203313a30085d1e64d91735ad59db56350b632e771fbfb9bcde0b55
5
5
  SHA512:
6
- metadata.gz: 90ed5e0c2e919724c54e25f755e2e9a1c0f81ce1991fec0ebc3ca896681de1fc850ad5bad865f695e9a0436ff860d5c75864ed52962c70c7e578e9dcd93849cd
7
- data.tar.gz: 92ac40ac2cc0addde8dff08ef2b04b975fee3fdbd36ac17df66c0547ef6fd84c8f8db74c93b5326d061faddca245b32ec6f2516f854b643115400c64241575aa
6
+ metadata.gz: 0b1c7933df6efcd1e5fdbfb13452f31e05bba9f320e1fd9e47d46ccf572945572edbc81171493dacd920e1fc6e0734f9c689fd9dd2a068996f667a7f8fb0c888
7
+ data.tar.gz: 6754fae685e7512fcddc01a1444d11edb771a553295f0379fafebeecd7b05cc946eac498dbaba461c42eac25a83e86a4caeee3a6c8a0be97f45c9b99c56f4cd7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (8.0.1)
4
+ et_full_system (8.0.2)
5
5
  azure-storage (~> 0.15.0.preview)
6
6
  dotenv (~> 2.7, >= 2.7.2)
7
7
  et_fake_ccd (~> 1.0)
@@ -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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_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
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "8.0.1"
2
+ VERSION = "8.0.2"
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: 8.0.1
4
+ version: 8.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor