smartcloud 0.0.66 → 0.0.67

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: 3303a2c85c6956de392c3cafd5a35806d3051c237a8f361e4dc9806533e169d6
4
- data.tar.gz: 6c7513497821290bbbc8cec2dad882336e98dca1485a3b67a709549122df4c2a
3
+ metadata.gz: 0b68c2a7f54171112f347de8f7e8877e04d7f6710b30b8e18f46924d34863946
4
+ data.tar.gz: bd110764a18ab8fba195017f12a325ec9da2f3f22526f326f53249984e443513
5
5
  SHA512:
6
- metadata.gz: 7908316661f94f1e1d0994d19fb08ea1db167fd18aa4566b3f85ff1d8e1b143a16b951ffa7ce9a1d0a32d26abe3c1f329620c3b94105b91e38f43bf7d00e63ac
7
- data.tar.gz: 5d313c209c43ad47855d34d3aca3d665d1a80b13ab5942ecc52c048e98c29525f8f4a7109f1cc1c503b5647c2f16acb1630b643ec39c89eaec9235cf2cd26801
6
+ metadata.gz: f5b40d17b0f6d67b626a047e7eee3b3c03eb8e3b42d92f22b125ff88fce2de7eac0dfb315320726363ff775cb6a88f11577e651fdfc056e60e2df668ac19811d
7
+ data.tar.gz: f2137f0c29988677389d01307b8b7d785e93a35ed7884eb27694a79fd9b169928c604340181355356f0a15151a68665b6768003ff710f37cabd0b8b57efe8c8b
@@ -7,7 +7,7 @@ class Buildpacker
7
7
 
8
8
  pack_rails if File.exist? "bin/rails"
9
9
 
10
- puts "failed."
10
+ puts "-----> Could not continue ... Launch Failed."
11
11
  exit 1
12
12
  end
13
13
 
@@ -19,7 +19,10 @@ class Buildpacker
19
19
  if system("bundle install")
20
20
  puts "-----> Compiling Assets ... "
21
21
  if system("bundle exec rails assets:precompile")
22
- system("foreman start -f Procfile")
22
+ puts "-----> Running Web Server ... "
23
+ if system("foreman start -f Procfile")
24
+ puts "-----> Launched Application ... Success."
25
+ end
23
26
  end
24
27
  end
25
28
  end
@@ -351,7 +351,6 @@ module Smartcloud
351
351
  end
352
352
 
353
353
  # Creating & Starting container
354
- print "-----> Creating container #{appname} ... "
355
354
  if system("docker create \
356
355
  --name='#{appname}' \
357
356
  --env-file='#{container_path}/env' \
@@ -361,14 +360,11 @@ module Smartcloud
361
360
  --restart='always' \
362
361
  --network='nginx-network' \
363
362
  smartcloud/buildpacks/rails", out: File::NULL)
364
- puts "done"
365
363
 
366
364
  system("docker network connect solr-network #{appname}")
367
365
  system("docker network connect mysql-network #{appname}")
368
366
 
369
- print "-----> Starting container #{appname} ... "
370
367
  system("docker start --attach #{appname}")
371
- puts "done"
372
368
  end
373
369
  end
374
370
  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.66
4
+ version: 0.0.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard