et_full_system 6.0.0.pre.rc16 → 6.0.0.pre.rc20

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: 749455aaebe7fb9dcbeec8db503922030884d0caa7bc2b24aeb6df083dd8fc9c
4
- data.tar.gz: c520723a123660c41cdd64fecb9a7ca3162bfdcbca9a11d06e70549b0101d6e5
3
+ metadata.gz: 84261b9787f4353b4c6313592ace9dbffe8fa5b24a6a3a9047026eefb590ce2e
4
+ data.tar.gz: ce97e407df29b8c72f4e7f92494354e3043c931cb6fe802592c9619e36c1232a
5
5
  SHA512:
6
- metadata.gz: e585066882f81e50080b172044b9ed4b48d7051ff3dc691c20d6fede67498d3e5dcecd1f9feaae7f8fa2c64dcceebe170614c702d4b4bbd6af3400384469bf47
7
- data.tar.gz: f3b7652b5d6ae53c90085204b4131ec765be8ed396a3cbc9991465ce8e34226b8b8e8c8608d9bb86188b3467eee2e0607f3309aa16acab348713da9675609c9d
6
+ metadata.gz: cb91e41bad51b67c1fdaddd3875912b3b563df359cda2200405fd345ac016ce4c542dfb551d4f99b49bd088f2ad2bb1a0c6cfba4256178dcf8e76fd1a8861210
7
+ data.tar.gz: 4a5867d1a0fd43476956b6a38ea72a739ecd360414d887219e40c09a1d53f8e9b574edf2fd557a5d8fb1ca683d501be8356de9ad1e22266924b0c70d451bd8f8
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.rc16)
4
+ et_full_system (6.0.0.pre.rc20)
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/Dockerfile CHANGED
@@ -26,7 +26,7 @@ RUN mkdir -p /home/app/system_gems/et_full_system && chmod 0777 /home/app/system
26
26
  WORKDIR /home/app/full_system
27
27
  RUN echo "app ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user
28
28
  USER app
29
- RUN gem install dotenv bundler:1.17.3 invoker et_full_system:$GEM_VERSION
29
+ RUN gem install dotenv bundler:1.17.3 invoker et_full_system:$GEM_VERSION et_fake_acas_server
30
30
  CMD /home/app/run
31
31
 
32
32
  #RUN bash --login -c "gem install bundler --version 1.17.3"
@@ -6,10 +6,9 @@ services:
6
6
  # Enables the web UI and tells Traefik to listen to docker
7
7
  command: --api.insecure=true --providers.docker
8
8
  ports:
9
- # The HTTP port
10
- - "80:80"
9
+ - "3100:80"
11
10
  # The Web UI (enabled by --api.insecure=true)
12
- - "8080:8080"
11
+ - "3200:8080"
13
12
  volumes:
14
13
  # So that Traefik can listen to the Docker events
15
14
  - /var/run/docker.sock:/var/run/docker.sock
@@ -41,6 +40,12 @@ services:
41
40
  - minio
42
41
  - azurite
43
42
  - mailhog
43
+ depends_on:
44
+ - db
45
+ - redis
46
+ - azurite
47
+ - mailhog
48
+ - minio
44
49
  extra_hosts:
45
50
  - "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP}"
46
51
  volumes:
@@ -1,11 +1,11 @@
1
- et1_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url et1 http://localhost:$FREEPORT && cd systems/et1 && PORT=$FREEPORT ./run.sh"
2
- et3_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et3.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url et3 http://localhost:$FREEPORT && cd systems/et3 && PORT=$FREEPORT ./run.sh"
3
- api_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_api.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url api http://localhost:$FREEPORT && cd systems/api && PORT=$FREEPORT ./run.sh"
4
- admin_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_admin.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url admin http://localhost:$FREEPORT && cd systems/admin && PORT=$FREEPORT ./run.sh"
5
- atos_api_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_atos.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url atos_api http://localhost:$FREEPORT && cd systems/atos && PORT=$FREEPORT ./run.sh"
6
- fake_acas_web: export FREEPORT=$(freeport) && bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_acas http://localhost:$FREEPORT && rvm use && et_fake_acas_server -port $FREEPORT -threads=1 -workers=2"
7
- fake_ccd_web: export FREEPORT=$(freeport) && bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_ccd http://localhost:$FREEPORT && rvm use && et_fake_ccd start --port=$FREEPORT --create_case_schema=./systems/et_ccd_export/spec/json_schemas/case_create.json"
8
- fake_notify_web: export FREEPORT=$(freeport) && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/fake_notify.env bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && et_full_system local update_service_url fake_notify http://localhost:$FREEPORT && rvm use && gov_fake_notify start --port=$FREEPORT --config=${FOREMAN_PATH}/gov_fake_notify.yaml"
9
- et1_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && cd systems/et1 && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env ./run_sidekiq.sh"
10
- api_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && cd systems/api && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_api.env ./run_sidekiq.sh"
11
- et_ccd_export_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && et_full_system local wait_for_support && cd systems/et_ccd_export && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_ccd_export.env ./run_sidekiq.sh"
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"
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
+ 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
+ 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"
6
+ fake_acas_web: bash --login -c "cd ${FS_ROOT_PATH} && et_fake_acas_server -port $PORT -threads=1 -workers=2"
7
+ fake_ccd_web: bash --login -c "cd ${FS_ROOT_PATH} && et_fake_ccd start --port=$PORT --create_case_schema=./systems/et_ccd_export/spec/json_schemas/case_create.json"
8
+ fake_notify_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/fake_notify.env bash --login -c "cd ${FS_ROOT_PATH} && gov_fake_notify start --port=$PORT --config=${FOREMAN_PATH}/gov_fake_notify.yaml"
9
+ et1_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et1 && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env ./run_sidekiq.sh"
10
+ api_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && cd systems/api && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_api.env ./run_sidekiq.sh"
11
+ et_ccd_export_sidekiq: bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et_ccd_export && godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_ccd_export.env ./run_sidekiq.sh"
@@ -89,7 +89,7 @@ module EtFullSystem
89
89
  def server
90
90
  puts "Scheduling traefik config and file storage config"
91
91
  pid = fork do
92
- self.class.start(['boot'])
92
+ self.class.start(['boot']) unless options.in_docker_compose?
93
93
  EtFullSystem::Cli::Local::FileStorageCommand.start(['setup'])
94
94
  end
95
95
  Process.detach(pid)
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "6.0.0.pre.rc16"
2
+ VERSION = "6.0.0.pre.rc20"
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.rc16
4
+ version: 6.0.0.pre.rc20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor