et_full_system 0.1.28 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/foreman/.env +0 -1
- data/foreman/et1.env +0 -1
- data/foreman/et_atos.env +0 -1
- data/lib/et_full_system/cli/local.rb +10 -10
- data/lib/et_full_system/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92b5dc47d8b504a41e4cdc2d9bd9ab344f68ed0424529995dd0e32ea0c0e0981
|
4
|
+
data.tar.gz: 8d743891336573316dfe9c9ec8616b62bb10b28d8575f5565a9c21099e387466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79a6ffa975fcf8e1b938aa9f610b3f19ff084fa2850cd52f44342e384f4e4e713600871b154640b1327cf783c57e88095913a401c74a69a2b29c1bf19baf7e7d
|
7
|
+
data.tar.gz: 507c27463240a45b6eb1725f84dde8d4d5f699e070f9e0dd4f3eda54edc560a71c61e654360df9ce294ecd7019c2c2fb8fd83b9109805fd656acc6ee5bfb6c5f
|
data/Gemfile.lock
CHANGED
data/foreman/.env
CHANGED
data/foreman/et1.env
CHANGED
data/foreman/et_atos.env
CHANGED
@@ -94,7 +94,7 @@ module EtFullSystem
|
|
94
94
|
puts "Starting Procfile"
|
95
95
|
::Bundler.with_original_env do
|
96
96
|
concurrency = " -c #{procfile_concurrency_without(options[:without]).join(',')}"
|
97
|
-
cmd = "AZURITE_STORAGE_PATH=\"#{options[:azurite_storage_path]}\" MINIO_STORAGE_PATH=\"#{options[:minio_storage_path]}\" FS_ROOT_PATH=#{PROJECT_PATH} FOREMAN_PATH=#{GEM_PATH}/foreman forego start -f \"#{GEM_PATH}/foreman/Procfile\" -e \"#{GEM_PATH}/foreman/.env\" -r#{concurrency}"
|
97
|
+
cmd = "RAILS_ENV=#{options[:rails_env]} AZURITE_STORAGE_PATH=\"#{options[:azurite_storage_path]}\" MINIO_STORAGE_PATH=\"#{options[:minio_storage_path]}\" FS_ROOT_PATH=#{PROJECT_PATH} FOREMAN_PATH=#{GEM_PATH}/foreman forego start -f \"#{GEM_PATH}/foreman/Procfile\" -e \"#{GEM_PATH}/foreman/.env\" -r#{concurrency}"
|
98
98
|
STDERR.puts cmd
|
99
99
|
exec(cmd)
|
100
100
|
end
|
@@ -168,7 +168,7 @@ module EtFullSystem
|
|
168
168
|
|
169
169
|
def setup_et1_service
|
170
170
|
puts "------------------------------------------------ SETTING UP ET1 SERVICE ---------------------------------------------------"
|
171
|
-
cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et1.env\" bundle install --with=#{options[:rails_env]}\""
|
171
|
+
cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et1.env\" bundle install --with=#{options[:rails_env]}\""
|
172
172
|
puts cmd
|
173
173
|
external_command cmd, 'et1 setup'
|
174
174
|
|
@@ -176,49 +176,49 @@ module EtFullSystem
|
|
176
176
|
puts cmd
|
177
177
|
external_command cmd, 'et1 setup'
|
178
178
|
|
179
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et1.env\" bundle exec rake db:create db:migrate assets:precompile\""
|
179
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et1.env\" bundle exec rake db:create db:migrate assets:precompile\""
|
180
180
|
puts cmd
|
181
181
|
external_command cmd, 'et1 setup'
|
182
182
|
end
|
183
183
|
|
184
184
|
def setup_et3_service
|
185
185
|
puts "------------------------------------------------ SETTING UP ET3 SERVICE ---------------------------------------------------"
|
186
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle install --with=#{options[:rails_env]}\""
|
186
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle install --with=#{options[:rails_env]}\""
|
187
187
|
puts cmd
|
188
188
|
external_command cmd, 'et3 setup'
|
189
189
|
|
190
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle exec rake db:create db:migrate assets:precompile\""
|
190
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle exec rake db:create db:migrate assets:precompile\""
|
191
191
|
puts cmd
|
192
192
|
external_command cmd, 'et3 setup'
|
193
193
|
end
|
194
194
|
|
195
195
|
def setup_admin_service
|
196
196
|
puts "------------------------------------------------ SETTING UP ADMIN SERVICE ---------------------------------------------------"
|
197
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle install --with=#{options[:rails_env]}\""
|
197
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle install --with=#{options[:rails_env]}\""
|
198
198
|
puts cmd
|
199
199
|
external_command cmd, 'admin setup'
|
200
200
|
|
201
201
|
puts "| Admin | Running rake commands"
|
202
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle exec rake db:seed assets:precompile\""
|
202
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle exec rake db:seed assets:precompile\""
|
203
203
|
puts cmd
|
204
204
|
external_command cmd, 'admin setup'
|
205
205
|
end
|
206
206
|
|
207
207
|
def setup_api_service
|
208
208
|
puts "------------------------------------------------ SETTING UP API SERVICE ---------------------------------------------------"
|
209
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle install --with=#{options[:rails_env]}\""
|
209
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle install --with=#{options[:rails_env]}\""
|
210
210
|
puts cmd
|
211
211
|
external_command cmd, 'api setup'
|
212
212
|
|
213
213
|
puts "| API | Running rake commands"
|
214
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rake db:create db:migrate db:seed\""
|
214
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rake db:create db:migrate db:seed\""
|
215
215
|
puts cmd
|
216
216
|
external_command cmd, 'api setup'
|
217
217
|
end
|
218
218
|
|
219
219
|
def setup_atos_service
|
220
220
|
puts "------------------------------------------------ SETTING UP ATOS SERVICE ---------------------------------------------------"
|
221
|
-
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_atos.env\" bundle install --with=#{options[:rails_env]}\""
|
221
|
+
cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && RAILS_ENV=#{options[:rails_env]} dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_atos.env\" bundle install --with=#{options[:rails_env]}\""
|
222
222
|
puts cmd
|
223
223
|
external_command cmd, 'atos setup'
|
224
224
|
end
|