smartcloud 0.0.145 → 0.0.146

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: a5e375b91a100d93e18c9c734e40ff51c5b507f7e8ff5e8b5272b56793493e4d
4
- data.tar.gz: a52e35ead55523c0526996d57f3ae7d6907e3609d05ba0f8f1961d8ed9700eb9
3
+ metadata.gz: 6976286ad263b1b4e34428658b5b89fb4a38e7626672527b0b9237efe7ff77da
4
+ data.tar.gz: 800708d9594798102789a7a5ddbd9a10d7618acc391a545062f8840fee234b29
5
5
  SHA512:
6
- metadata.gz: ad43d78e75cdab5f7c484c5840ccf0a6e070b4aced7a129459d092a456ffd0502e682d7bebc0608ef51438786cbf850e84ce583f6197523d9fea45a58fb0eb0b
7
- data.tar.gz: 25f67c254f545811e00e11f8578c3131c1eb7f85ca9f8b5d45d84cffec8caa318616c06e78ebcdb8c7cd54cd8c68f24dfd4d0e74224ced9d198e39de471b5d62
6
+ metadata.gz: 837d477bc2afa431067cde5064aeae08f9a827f2e004ffa818d046bf23ede97f0d303eef1d2f38025a9df1dfb2bc32e89a4a7a07790fd5e490e745546c2208ca
7
+ data.tar.gz: '092d20c4cf41bc1693fd96054ded4708b65cd5f5d49aaff213e626bdba410b115fb2a4ddaef05ea25d2a44b7142e4acdae6a792c2061ac496c74efb418b3d89a'
@@ -2,6 +2,12 @@
2
2
  module Smartcloud
3
3
  module Grids
4
4
  class Runner
5
+ logger = Logger.new($stdout)
6
+ logger.level = Logger::INFO
7
+ logger.formatter = proc do |severity, datetime, progname, message|
8
+ " #{severity}: #{message}\n"
9
+ end
10
+
5
11
  def initialize
6
12
  end
7
13
 
@@ -218,12 +224,6 @@ module Smartcloud
218
224
  end
219
225
 
220
226
  def self.prereceive_app(appname, username, oldrev, newrev, refname)
221
- logger = Logger.new($stdout)
222
- logger.level = Logger::INFO
223
- logger.formatter = proc do |severity, datetime, progname, message|
224
- " #{severity}: #{message}\n"
225
- end
226
-
227
227
  container_path = "#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/containers/#{appname}"
228
228
 
229
229
  ## Verify the user and ensure the user is correct and has access to this repository
@@ -386,7 +386,7 @@ module Smartcloud
386
386
  system("docker network connect solr-network #{appname}")
387
387
  system("docker network connect mysql-network #{appname}")
388
388
 
389
- # system("docker start --attach #{appname}")
389
+ system("docker start --attach #{appname}")
390
390
  end
391
391
  end
392
392
  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.145
4
+ version: 0.0.146
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard