et_full_system 8.0.0 → 8.0.2

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: 8a8342719e12312bc3b5626803980c539f7bd73659cc6a4bab3669bc28a26efc
4
- data.tar.gz: 8a024891c9b15129bf32b6a252ee795d99138d59d413f0730a9eaa159476845a
3
+ metadata.gz: 1f583e690be55a34d7fac2d3487e46b3e6827b12b9b5d09925e40758d6261656
4
+ data.tar.gz: 7fffbe9a2203313a30085d1e64d91735ad59db56350b632e771fbfb9bcde0b55
5
5
  SHA512:
6
- metadata.gz: b68adc89cc2832208e11b6cd04334a226ea3555a5ab46e774cb0bfc8c75d9ea36f024d685284b9f4c5f433d64273dbae66fec5addd4f0ffe8bff32418bb0d506
7
- data.tar.gz: 8662f07173ec60fe30b7bc22b7fe1af24fcd2a3ccf3e0beacb1e66a49f89df4ffa703db4be8da32e06ceef73ee478a1ef15ffccf7e7943e72db361af5b99d631
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.0)
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)
Binary file
@@ -142,7 +142,8 @@ 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
- setup_ruby_versions unless !rvm_installed || options.in_docker_compose?
145
+ install_bundler if rvm_installed?
146
+ setup_ruby_versions unless !rvm_installed? || options.in_docker_compose?
146
147
  setup_services
147
148
  end
148
149
 
@@ -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.0"
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.0
4
+ version: 8.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
@@ -141,6 +141,7 @@ files:
141
141
  - docker/docker-compose.yml
142
142
  - docker/pdftk
143
143
  - et_full_system-7.0.3.gem
144
+ - et_full_system-8.0.0.gem
144
145
  - et_full_system.gemspec
145
146
  - exe/et_full_system
146
147
  - foreman/.env