et_full_system 6.0.0.pre.rc24 → 6.0.0.pre.rc25

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: 95b33af6823341942cdaba84b6d9aa6f29d2878064a6fbe07cadd886e92fa49a
4
- data.tar.gz: 0a3916cf274dfca304c3c48a864f61afd748b295cfabe8a6f6d1b553a0f37353
3
+ metadata.gz: c1d3a4c406708c9b931c6e193f37a4506063187618c88c3a8d3b93c1350f7a3e
4
+ data.tar.gz: 1a67f7bab5f463c8455b2eebd47936963a9824dddec84215574330210197e9d9
5
5
  SHA512:
6
- metadata.gz: 9dc4497e9a265ba4e8aea5422698ef30a98ee09c6c83580e1110e5c0087dfb7c48e430ca81f6de9be6628f3b72b79274f96a2fda2409897af804b8f7043cab15
7
- data.tar.gz: 4d3b3d67f1e7e46bc3531a3973f2215a9d08f6c3228ba58ad8557ab73c066820a0fb906c19a6853c763b4f9971c30d66a4ddc7cc8e3462c58efd42d7a4d3304b
6
+ metadata.gz: 5a87cc4092dd1655303b9163d42fa8352e64db88398657836c5f86666a4241363f4f28623b6aad4e7afbf5e3697ee212a397a6520ed64a81abe0ad9e3ad5b513
7
+ data.tar.gz: 550085fe24376dc44ff26c1ab54b6e6dd78cce7b442aef482032bc9365b930b372149eea864d1f9f8cb99f86063680106ce7857f5cf85f7f6dcafe7295c3e67e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (6.0.0.pre.rc24)
4
+ et_full_system (6.0.0.pre.rc25)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -21,7 +21,7 @@ module EtFullSystem
21
21
  def setup
22
22
  unbundled do
23
23
  gem_root = File.absolute_path('../../..', __dir__)
24
- cmd = "/bin/bash --login -c \"cd /home/app/full_system && et_full_system docker bootstrap && et_full_system local setup\""
24
+ cmd = "/bin/bash --login -c \"cd /home/app/full_system && et_full_system docker bootstrap && et_full_system local setup --in-docker-compose\""
25
25
  compose_cmd = "UID=#{Process.uid} GEM_VERSION=#{EtFullSystem::VERSION} LOCALHOST_FROM_DOCKER_IP=#{host_ip} docker-compose -f #{gem_root}/docker/docker-compose.yml run --rm et #{cmd}"
26
26
  puts compose_cmd
27
27
  exec(compose_cmd)
@@ -55,7 +55,7 @@ module EtFullSystem
55
55
 
56
56
  def setup_azure_storage
57
57
  unbundled do
58
- puts `bash --login -c "export RAILS_ENV=production && cd systems/api && rvm use && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
58
+ puts `bash --login -c "export RAILS_ENV=production && cd systems/api && godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
59
59
 
60
60
  end
61
61
  end
@@ -130,9 +130,10 @@ module EtFullSystem
130
130
  desc "setup", "Sets up everything ready for first run"
131
131
  method_option :rails_env, type: :string, default: ENV.fetch('RAILS_ENV', 'production')
132
132
  method_option :cloud_provider, type: :string, default: ENV.fetch('CLOUD_PROVIDER', 'amazon')
133
+ method_option :in_docker_compose, type: :boolean, default: false, desc: 'Set to true to assume certain services are in docker compose'
133
134
  def setup
134
135
  setup_depencencies
135
- setup_ruby_versions
136
+ setup_ruby_versions unless options.in_docker_compose?
136
137
  setup_services
137
138
  end
138
139
 
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "6.0.0.pre.rc24"
2
+ VERSION = "6.0.0.pre.rc25"
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: 6.0.0.pre.rc24
4
+ version: 6.0.0.pre.rc25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor