smartcloud 0.0.155 → 0.0.156

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: 03d9d0c29a95d087426b651089819defebfcb07c0162a864e2829fb90007931f
4
- data.tar.gz: fb7b33a498735f60264040c336c4a0a2332041b8287a1f741f55f3880cd2d97d
3
+ metadata.gz: d0f4d3dda6b40f12732bfe026083343ca4b14e3df467ab9d50e5c73aff6069cc
4
+ data.tar.gz: c72c3cdbb604173423dae83b8b4338da8dd95523c1d3ef4e2f10a6da8fa48961
5
5
  SHA512:
6
- metadata.gz: 488f5fcaa6b4a4950e4d9220d6d865db3ae4328e315676faaaf78c5f06f36b33550a317cf7fac98aa60ed384329a1d4cf132f8ce7aee2c9915bf294ae79e7fe5
7
- data.tar.gz: f477818a00dcd60f91190d49bdd49db94fe600cf0fa3c4016d278c9ebbd5d143b29df5faf8e41b04dcd2749d13ad92a256c8cab28659aaeca161ab65f116be15
6
+ metadata.gz: 7a8ab72089a33b697c7947fdbdb331293510a30dec7125a99d9126118bc245d10ab6a27d3ba2aea4d45f4ae1ca54a66672490fb525604631b13af101ec2ba996
7
+ data.tar.gz: 6166b6b3035bddef48c7611f27c6e8d0f5dd7e7065dfd639ea859bb00af919f149041ba4d03c596db86a0787794ac9a6ac56c27a4ed87a8db00d9f65d763494c
@@ -224,9 +224,8 @@ module Smartcloud
224
224
  end
225
225
  logger.level = ::Logger::DEBUG
226
226
 
227
+ # Load vars and environment
227
228
  container_path = "#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/containers/#{appname}"
228
-
229
- # Load ENV vars
230
229
  return unless self.load_container_env_vars(container_path)
231
230
 
232
231
  # Verify the user and ensure the user is correct and has access to this repository
@@ -306,6 +305,7 @@ module Smartcloud
306
305
 
307
306
  def self.start_app_rails(appname, container_path, container_path_with_version)
308
307
  # Stopping & Removing not required app containers
308
+ # TODO: To be removed after dynamic container switching has been implemented as it should be done in the end at the time of cleanup after the new container is running.
309
309
  self.stop_app(appname)
310
310
 
311
311
  logger.info "Ruby on Rails application detected."
@@ -328,10 +328,10 @@ module Smartcloud
328
328
  # Setup Godfile
329
329
  unless File.exist? "#{container_path_with_version}/Godfile"
330
330
  logger.warn "WARNING: Godfile not detected. Adding a default Godfile. It is recommended to add your own Godfile."
331
- page = <<~HEREDOC
331
+ page = <<~"HEREDOC"
332
332
  God.watch do |w|
333
- w.name = 'web'
334
- w.start = 'bundle exec puma -C config/puma.rb'
333
+ w.name = "web"
334
+ w.start = "bundle exec puma -C config/puma.rb"
335
335
  w.behavior(:clean_pid_file)
336
336
  w.keepalive
337
337
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.155
4
+ version: 0.0.156
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard