et_full_system 1.0.11.pre.rc1 → 2.0.1

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: c17961e003c050d0d42d509c9acdefe37b70aebbb9cd5e7d402a9c03ba8f9ec2
4
- data.tar.gz: db9973d99aba50b91802236dde282744c5b5d1fb871e8bdc83a050d3a2ca426e
3
+ metadata.gz: 350455266930288a5bc63303704423b8642144ca7e45fa8cfc09d1f5eb27a467
4
+ data.tar.gz: 45e90d6f4318592e076d218501a3625d0032aa80626f9e0a18067df0a17a0cf7
5
5
  SHA512:
6
- metadata.gz: '09c3a4e90219dbee03953cd3f295213fd2220cdc83eb5e931c5bb51520e6ae27d4d01d0b26e81f91804eba9051fc565b300ef4a9c23b842e91bf3f6d0fe6b512'
7
- data.tar.gz: 998eaf34834d3e875b0114e7944ba7f14c612ba0962909b010a416824bb3ed074818969d459e45c3a261615efbd4125ed685c14abaf286c097d49e7fcc9307a0
6
+ metadata.gz: 3d19574850f6836ee394857b47808b2c45c6596ecdfaf0ac2f16bbd47a21cd50fb882195118539921f75b28003b98077faecdf5180d9eb013d330b2343e2cb6f
7
+ data.tar.gz: ce1423cf4e70982ea6aa81d1cd8c6fd07ee0392d084a7306dc92922b6137b006d358b9b034a79d7c4e4f5a2382dd0cb1eb6c28e1adf47166d1a390277b2f4835
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (1.0.11.pre.rc1)
4
+ et_full_system (2.0.1)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
@@ -13,9 +13,9 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activemodel (6.1.1)
17
- activesupport (= 6.1.1)
18
- activesupport (6.1.1)
16
+ activemodel (6.1.3)
17
+ activesupport (= 6.1.3)
18
+ activesupport (6.1.3)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (>= 1.6, < 2)
21
21
  minitest (>= 5.1)
@@ -23,21 +23,21 @@ GEM
23
23
  zeitwerk (~> 2.3)
24
24
  addressable (2.7.0)
25
25
  public_suffix (>= 2.0.2, < 5.0)
26
- aws-eventstream (1.1.0)
27
- aws-partitions (1.416.0)
28
- aws-sdk-core (3.111.0)
26
+ aws-eventstream (1.1.1)
27
+ aws-partitions (1.434.0)
28
+ aws-sdk-core (3.113.0)
29
29
  aws-eventstream (~> 1, >= 1.0.2)
30
30
  aws-partitions (~> 1, >= 1.239.0)
31
31
  aws-sigv4 (~> 1.1)
32
32
  jmespath (~> 1.0)
33
- aws-sdk-kms (1.41.0)
34
- aws-sdk-core (~> 3, >= 3.109.0)
33
+ aws-sdk-kms (1.43.0)
34
+ aws-sdk-core (~> 3, >= 3.112.0)
35
35
  aws-sigv4 (~> 1.1)
36
- aws-sdk-s3 (1.87.0)
37
- aws-sdk-core (~> 3, >= 3.109.0)
36
+ aws-sdk-s3 (1.92.0)
37
+ aws-sdk-core (~> 3, >= 3.112.0)
38
38
  aws-sdk-kms (~> 1)
39
39
  aws-sigv4 (~> 1.1)
40
- aws-sigv4 (1.2.2)
40
+ aws-sigv4 (1.2.3)
41
41
  aws-eventstream (~> 1, >= 1.0.2)
42
42
  azure-core (0.1.15)
43
43
  faraday (~> 0.9)
@@ -48,7 +48,7 @@ GEM
48
48
  faraday (~> 0.9)
49
49
  faraday_middleware (~> 0.10)
50
50
  nokogiri (~> 1.6, >= 1.6.8)
51
- concurrent-ruby (1.1.7)
51
+ concurrent-ruby (1.1.8)
52
52
  dotenv (2.7.6)
53
53
  et_fake_acas_server (0.1.10)
54
54
  activesupport (>= 5.2)
@@ -57,38 +57,38 @@ GEM
57
57
  ruby-mcrypt (~> 0.2)
58
58
  sinatra (~> 2.0, >= 2.0.3)
59
59
  sinatra-contrib (~> 2.0)
60
- et_fake_ccd (1.1.1)
60
+ et_fake_ccd (1.1.3)
61
61
  activemodel (>= 5.2.3)
62
62
  iodine (~> 0.7)
63
63
  json-schema (~> 2.5)
64
64
  roda (~> 3.21)
65
- rotp (~> 5.1)
65
+ rotp (~> 6.2)
66
66
  thor (~> 1.0)
67
67
  tilt (~> 2.0, >= 2.0.9)
68
- faraday (0.17.3)
68
+ faraday (0.17.4)
69
69
  multipart-post (>= 1.2, < 3)
70
70
  faraday_middleware (0.14.0)
71
71
  faraday (>= 0.7.4, < 1.0)
72
72
  httparty (0.18.1)
73
73
  mime-types (~> 3.0)
74
74
  multi_xml (>= 0.5.2)
75
- i18n (1.8.7)
75
+ i18n (1.8.9)
76
76
  concurrent-ruby (~> 1.0)
77
- iodine (0.7.43)
77
+ iodine (0.7.44)
78
78
  jmespath (1.4.0)
79
79
  json-schema (2.8.1)
80
80
  addressable (>= 2.4)
81
81
  mime-types (3.3.1)
82
82
  mime-types-data (~> 3.2015)
83
- mime-types-data (3.2020.1104)
83
+ mime-types-data (3.2021.0225)
84
84
  mini_portile2 (2.5.0)
85
- minitest (5.14.3)
85
+ minitest (5.14.4)
86
86
  multi_json (1.15.0)
87
87
  multi_xml (0.6.0)
88
88
  multipart-post (2.1.1)
89
89
  mustermann (1.1.1)
90
90
  ruby2_keywords (~> 0.0.1)
91
- nokogiri (1.11.1)
91
+ nokogiri (1.11.2)
92
92
  mini_portile2 (~> 2.5.0)
93
93
  racc (~> 1.4)
94
94
  public_suffix (4.0.6)
@@ -97,12 +97,11 @@ GEM
97
97
  rack-protection (2.1.0)
98
98
  rack
99
99
  rake (13.0.1)
100
- roda (3.39.0)
100
+ roda (3.42.0)
101
101
  rack
102
- rotp (5.1.0)
103
- addressable (~> 2.5)
102
+ rotp (6.2.0)
104
103
  ruby-mcrypt (0.2.0)
105
- ruby2_keywords (0.0.2)
104
+ ruby2_keywords (0.0.4)
106
105
  sinatra (2.1.0)
107
106
  mustermann (~> 1.0)
108
107
  rack (~> 2.2)
@@ -114,7 +113,7 @@ GEM
114
113
  rack-protection (= 2.1.0)
115
114
  sinatra (= 2.1.0)
116
115
  tilt (~> 2.0)
117
- thor (1.0.1)
116
+ thor (1.1.0)
118
117
  tilt (2.0.10)
119
118
  tzinfo (2.0.4)
120
119
  concurrent-ruby (~> 1.0)
data/docker/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM phusion/passenger-customizable:0.9.34
1
+ FROM phusion/passenger-customizable:1.0.12
2
2
  # Set correct environment variables.
3
3
  ENV HOME /root
4
4
  ARG GEM_VERSION=>0
@@ -17,25 +17,22 @@ CMD ["/sbin/my_init"]
17
17
  #
18
18
  # Ruby support
19
19
 
20
- # The following 2 lines are temporary - see https://github.com/phusion/passenger-docker/issues/234
21
- # Try to remove and build from scratch maybe after january 2019
22
- RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
23
- RUN curl -sSL https://rvm.io/mpapis.asc -o /pd_build/ruby_support/mpapis-pubkey.asc
20
+
24
21
  #RUN /pd_build/ruby-2.0.*.sh
25
22
  #RUN /pd_build/ruby-2.1.*.sh
26
23
  #RUN /pd_build/ruby-2.2.*.sh
27
24
  #RUN /pd_build/ruby-2.3.*.sh
28
25
  #RUN /pd_build/ruby-2.4.*.sh
29
- RUN /pd_build/ruby-2.5.*.sh
26
+ RUN /pd_build/ruby-2.7.*.sh
30
27
  #RUN /pd_build/jruby-9.1.*.sh
31
28
  # Python support.
32
29
  #RUN /pd_build/python.sh
33
30
  # Node.js and Meteor standalone support.
34
31
  # (not needed if you already have the above Ruby support)
35
- #RUN /pd_build/nodejs.sh
32
+ RUN /pd_build/nodejs.sh
36
33
 
37
34
  # Get latest rubygems
38
- RUN bash --login -c "rvm --default use 2.5.1"
35
+ RUN bash --login -c "rvm --default use 2.7.2"
39
36
  RUN gem update --system
40
37
 
41
38
  # ...put your own build instructions here...
@@ -66,8 +63,6 @@ COPY docker/pdftk /usr/local/bin
66
63
  RUN chmod 0755 /usr/local/bin/pdftk
67
64
 
68
65
 
69
- RUN /pd_build/nodejs.sh
70
-
71
66
  # Enable the Redis service.
72
67
  RUN rm -f /etc/service/redis/down
73
68
 
@@ -107,7 +102,7 @@ WORKDIR /home/app/full_system
107
102
  RUN echo "app ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user
108
103
  USER app
109
104
 
110
- RUN bash --login -c "rvm --default use 2.5.1"
105
+ RUN bash --login -c "rvm --default use 2.7.2"
111
106
  RUN bash --login -c "gem install bundler --version 1.17.3"
112
107
 
113
108
  # Install gems required outside of any bundle.
@@ -342,7 +342,7 @@ module EtFullSystem
342
342
 
343
343
  def setup_et1_service
344
344
  puts "------------------------------------------------ SETTING UP ET1 SERVICE ---------------------------------------------------"
345
- cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && CLOUD_PROVIDER=#{options[:cloud_provider]} RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et1.env\" bundle install --with=#{options[:rails_env]}\""
345
+ cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
346
346
  puts cmd
347
347
  external_command cmd, 'et1 setup'
348
348
 
@@ -357,7 +357,7 @@ module EtFullSystem
357
357
 
358
358
  def setup_et3_service
359
359
  puts "------------------------------------------------ SETTING UP ET3 SERVICE ---------------------------------------------------"
360
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && CLOUD_PROVIDER=#{options[:cloud_provider]} RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle install --with=#{options[:rails_env]}\""
360
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
361
361
  puts cmd
362
362
  external_command cmd, 'et3 setup'
363
363
 
@@ -368,7 +368,7 @@ module EtFullSystem
368
368
 
369
369
  def setup_admin_service
370
370
  puts "------------------------------------------------ SETTING UP ADMIN SERVICE ---------------------------------------------------"
371
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
371
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
372
372
  puts cmd
373
373
  external_command cmd, 'admin setup'
374
374
 
@@ -380,7 +380,7 @@ module EtFullSystem
380
380
 
381
381
  def setup_api_service
382
382
  puts "------------------------------------------------ SETTING UP API SERVICE ---------------------------------------------------"
383
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
383
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
384
384
  puts cmd
385
385
  external_command cmd, 'api setup'
386
386
 
@@ -392,14 +392,14 @@ module EtFullSystem
392
392
 
393
393
  def setup_atos_service
394
394
  puts "------------------------------------------------ SETTING UP ATOS SERVICE ---------------------------------------------------"
395
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
395
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
396
396
  puts cmd
397
397
  external_command cmd, 'atos setup'
398
398
  end
399
399
 
400
400
  def setup_ccd_service
401
401
  puts "------------------------------------------------ SETTING UP CCD EXPORT SERVICE ---------------------------------------------------"
402
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
402
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && CLOUD_PROVIDER=#{options[:cloud_provider]} 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]}\""
403
403
  puts cmd
404
404
  external_command cmd, 'ccd setup'
405
405
  end
@@ -55,7 +55,7 @@ module EtFullSystem
55
55
 
56
56
  def setup_azure_storage
57
57
  unbundled do
58
- puts `bash --login -c "cd systems/api && rvm use && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
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"`
59
59
 
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "1.0.11-rc1"
2
+ VERSION = "2.0.1"
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: 1.0.11.pre.rc1
4
+ version: 2.0.1
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-01-12 00:00:00.000000000 Z
11
+ date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -195,9 +195,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  requirements:
198
- - - ">"
198
+ - - ">="
199
199
  - !ruby/object:Gem::Version
200
- version: 1.3.1
200
+ version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 2.7.6