smartcloud 0.0.188 → 0.0.189
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b33bd879a4af69d254a92c7e3805b93acf2e8a7b81865ec54a7c2858de36e60
|
4
|
+
data.tar.gz: 74c5aa93230e4687e667586d2f962a9590f7b3b5d2148354eab6fdd0bb4e5c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afe318524b8f7257fa4a2fcf0bf8e987c41ab2d389204554205038bfc0e2fb93f38ea97011da02c44b1026af1db8a94cd7778e7e357bcafbd92fbe5cfdc2026
|
7
|
+
data.tar.gz: 8f3f9f882c999740ce6d7fe2962d12b1bc8895633545b8f6695a2c0716739ad0cce4e7fc9f73c84772f0522f5076fcbc71a44f5498d98f06c8404cf34f9050fa
|
@@ -250,7 +250,7 @@ module Smartcloud
|
|
250
250
|
FileUtils.mkdir_p(container_path_with_version)
|
251
251
|
if system("git archive #{newrev} | tar -x -C #{container_path_with_version}")
|
252
252
|
# Start App
|
253
|
-
|
253
|
+
self.start_app(appname)
|
254
254
|
else
|
255
255
|
logger.fatal "Could not extract new app version ... Failed."
|
256
256
|
return
|
@@ -280,7 +280,7 @@ module Smartcloud
|
|
280
280
|
logger.info "Launching Application ..."
|
281
281
|
if File.exist? "#{container_path_with_version}/bin/rails"
|
282
282
|
# Starting Rails App
|
283
|
-
|
283
|
+
self.start_app_rails(appname, container_path, container_path_with_version)
|
284
284
|
end
|
285
285
|
end
|
286
286
|
end
|
@@ -346,6 +346,7 @@ module Smartcloud
|
|
346
346
|
if system("docker start --attach #{appname}_new")
|
347
347
|
if self.hot_reloaded_app?(appname)
|
348
348
|
self.clean_up(container_path)
|
349
|
+
logger.info "Launched Application ... Success."
|
349
350
|
exit 0
|
350
351
|
end
|
351
352
|
else
|
@@ -9,6 +9,9 @@ while read oldrev newrev refname; do
|
|
9
9
|
else
|
10
10
|
REPOSITORY_BASENAME=$(basename $(readlink -nf "$PWD"/..))
|
11
11
|
fi
|
12
|
-
script
|
12
|
+
script --quiet --return --flush --command "runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname" /home/$(whoami)/.smartcloud/grids/grid-runner/apps/containers/$REPOSITORY_BASENAME/typescript
|
13
|
+
if [ "$?" -eq 0 ]; then
|
14
|
+
exit 0
|
15
|
+
fi
|
13
16
|
exit 1
|
14
17
|
done
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.189
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timeboard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Smartcloud is a full-stack deployment framework for rails optimized for
|
14
14
|
programmer happiness and peaceful administration. It encourages natural simplicity
|