et_full_system 6.0.0.pre.rc24 → 6.0.0.pre.rc28

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: 95b33af6823341942cdaba84b6d9aa6f29d2878064a6fbe07cadd886e92fa49a
4
- data.tar.gz: 0a3916cf274dfca304c3c48a864f61afd748b295cfabe8a6f6d1b553a0f37353
3
+ metadata.gz: f662d434ca524a4c044be580c81f246bd3a35c2d4246326e4aa8a0bf0da8c55f
4
+ data.tar.gz: ccfcc2454c874e39e816b5512a1e06fbf11392e2b2046dbbb5ebd6aae0b82ee9
5
5
  SHA512:
6
- metadata.gz: 9dc4497e9a265ba4e8aea5422698ef30a98ee09c6c83580e1110e5c0087dfb7c48e430ca81f6de9be6628f3b72b79274f96a2fda2409897af804b8f7043cab15
7
- data.tar.gz: 4d3b3d67f1e7e46bc3531a3973f2215a9d08f6c3228ba58ad8557ab73c066820a0fb906c19a6853c763b4f9971c30d66a4ddc7cc8e3462c58efd42d7a4d3304b
6
+ metadata.gz: a9e4e9191e1b115a59aea93875eaa6248347e48e342b7116d79451670c5c8b24f67a868a09ced1785c6f4ce8f593df331cf571c6a24cc77061a3d6cf40946e02
7
+ data.tar.gz: da3d47fa7f5c075280f3bc5633414ec093cf5ddf0a6dee59215423fb28ff42818507f079d9881ec5e784772f57fe2838ea1b160e5d6450955e411aba6f18c4b6
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.rc28)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
data/docker/build/run CHANGED
@@ -1,9 +1,2 @@
1
1
  #!/usr/bin/env bash
2
- cd /home/app/full_system/systems/et1 && bundle && bundle exec rails db:create db:migrate && \
3
- cd /home/app/full_system/systems/et3 && bundle && bundle exec rails db:create db:migrate && \
4
- cd /home/app/full_system/systems/api && bundle && bundle exec rails db:create db:migrate db:seed && \
5
- cd /home/app/full_system/systems/admin && bundle && bundle exec rails db:seed && \
6
- cd /home/app/full_system/systems/atos && bundle && \
7
- cd /home/app/full_system/systems/et_ccd_export && bundle && \
8
- sleep 60
9
2
 
data/foreman/.env CHANGED
@@ -4,6 +4,7 @@ DB_USERNAME=postgres
4
4
  REDIS_HOST=${REDIS_HOST}
5
5
  REDIS_PORT=6379
6
6
  RAILS_LOG_TO_STDOUT='true'
7
+ RAILS_LOG_LEVEL=debug
7
8
  WEB_CONCURRENCY=1
8
9
  SECRET_KEY_BASE=sdlkjewfkjhfviuhduihenrjk435r89esfd7cv983qh2n4r3q27yh4u5rtfg
9
10
  SMTP_HOSTNAME='mail.et.127.0.0.1.nip.io'
@@ -1,5 +1,5 @@
1
- et1_web: export godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et1 && bundle exec iodine -port $PORT"
2
- et3_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et3.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system && cd systems/et3 && bundle exec iodine -port $PORT"
1
+ et1_web: export godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et1 && bundle exec iodine -port $PORT > /home/app/et1.log"
2
+ et3_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et3.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et3 && bundle exec iodine -port $PORT"
3
3
  api_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_api.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/api && bundle exec iodine -port $PORT"
4
4
  admin_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_admin.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/admin && bundle exec iodine -port $PORT"
5
5
  atos_api_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_atos.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/atos && bundle exec iodine -port $PORT"
@@ -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.rc28"
3
3
  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.0.pre.rc24
4
+ version: 6.0.0.pre.rc28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor