smartcloud 0.0.135 → 0.0.136
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: 85d6fa7f8c0dc7aee3b9498cc547ee05f852db9ace664d57417d49a11c2eb8c7
|
4
|
+
data.tar.gz: 88cfd7dd3414a6c765a5178207e9cce15e78047919dc156e703b2de0207c37bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ee3c1d00676f0eca7eefebf841406083b890d6a2c231e61e07b99480af8156242b9dd2acece6d8161fdfa56e269f04bddb7bdc41324d8d3bd41655457fa2e98
|
7
|
+
data.tar.gz: 7a62b767ac68ae4d382b533d91103fc82678d4750e23bb9dbae3622b9274f4fa409030eae4914bbc3a5724c64073fc52fd1a532cde7f59e06076e31e305abeed
|
@@ -34,7 +34,6 @@ module Smartcloud
|
|
34
34
|
# Creating & Starting containers
|
35
35
|
print "-----> Creating container nginx ... "
|
36
36
|
if system("docker create \
|
37
|
-
--log-opt mode=non-blocking --log-opt max-buffer-size=4m \
|
38
37
|
--name='nginx' \
|
39
38
|
#{"--publish='80:80' --publish='443:443'" if exposed == '--exposed'} \
|
40
39
|
--volume='nginx-confd:/etc/nginx/conf.d/' \
|
@@ -17,7 +17,6 @@ module Smartcloud
|
|
17
17
|
if system("docker image inspect smartcloud/runner", [:out, :err] => File::NULL) && system("docker image inspect smartcloud/buildpacks/rails", [:out, :err] => File::NULL)
|
18
18
|
print "-----> Creating container runner ... "
|
19
19
|
if system("docker create \
|
20
|
-
--log-opt mode=non-blocking --log-opt max-buffer-size=4m \
|
21
20
|
--name='runner' \
|
22
21
|
--env VIRTUAL_PROTO=fastcgi \
|
23
22
|
--env VIRTUAL_HOST=#{Smartcloud.config.git_domain} \
|
@@ -9,5 +9,5 @@ while read oldrev newrev refname; do
|
|
9
9
|
else
|
10
10
|
REPOSITORY_BASENAME=$(basename $(readlink -nf "$PWD"/..))
|
11
11
|
fi
|
12
|
-
runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname
|
12
|
+
script -qfc "runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname"
|
13
13
|
done
|