et_full_system 6.0.0.pre.rc23 → 6.0.0.pre.rc27

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: 8c1e74837a8dc597871ed02aab372f14d81fefdc4f4ae5ea1b565e1837cba528
4
- data.tar.gz: 72d5a4ec37a2158b17aed084c0a5560727c16cb0d60a946feb65c4ecf8976b39
3
+ metadata.gz: 1e9b826b95f06440976d26121d585bfbf8d70fdbe4183da0101b12dc0661014a
4
+ data.tar.gz: c06175c8d7f8ea43d4d38885b8f5ee84a88b2231d7dd9f14715171d5806df13c
5
5
  SHA512:
6
- metadata.gz: 9d5801a2d842d85f972c4fba5d478bcddf4344cdcc391e52b5085ccfe0edc2a5719d8e90f948d1614807259606ff1da19470faf8a1ee2190341ae2f27047f501
7
- data.tar.gz: dee4e9c9b482b4bc7862a1d60f8483f58d3cf9bbdfb3dc962ab63364f1ffa41065755dd1802d8c209a129f01ae90be9b54bd7b23b55af10ac8fe8ac44852dd5a
6
+ metadata.gz: 97006d6186db40e9760f74b5279c3ae67c4c59ed13d646f0cd7fae79d3faf086cb07e316724a24dbc1f90ce71b92d2f9d3d3821cf0f2120e566ff3d5504121c2
7
+ data.tar.gz: c3b272dee6ac154c27af108b11de0c8c407816118136f707985d80f3927c39c19e647ea87d5b9a9152bb64e7ac1809e78f1f5075b0d1c72daf7dddefa489e863
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.rc23)
4
+ et_full_system (6.0.0.pre.rc27)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -4,11 +4,11 @@ services:
4
4
  # The official v2 Traefik docker image
5
5
  image: traefik:v2.5
6
6
  # Enables the web UI and tells Traefik to listen to docker
7
- command: --api.insecure=true --providers.docker
7
+ command: --api.insecure=true --providers.docker --entryPoints.http.address=:3100 --entryPoints.traefik.address=:3200
8
8
  ports:
9
- - "3100:80"
9
+ - "3100:3100"
10
10
  # The Web UI (enabled by --api.insecure=true)
11
- - "3200:8080"
11
+ - "3200:3200"
12
12
  volumes:
13
13
  # So that Traefik can listen to the Docker events
14
14
  - /var/run/docker.sock:/var/run/docker.sock
@@ -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.rc23"
2
+ VERSION = "6.0.0.pre.rc27"
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.rc23
4
+ version: 6.0.0.pre.rc27
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