smartcloud 0.0.139 → 0.0.144
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/grid-runner/Dockerfile +1 -1
- data/lib/smartcloud/grids/runner.rb +4 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d8d0bf63612ac61f01e331cc6fead6b4b623f561b56ebb224d6ea4b78048b5e
|
4
|
+
data.tar.gz: 0b8f777e19dcb42f6ba47e7c58b39c0a2e7b338d7d023b20c136fcfbd71c10e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25fd7a3e7a83e4a82f8f585b1506f0772c5c6857391fcf94fef8abf0d9fd67d95ca8d352e764d73689f6937497c99856e745d57b94e92a0eb4ca6c47638ca628
|
7
|
+
data.tar.gz: 17ce6fcc2e889842def8ee29689e3f9ada9cf58f513cf64b9f136c0d40323faf6e3a83694d8fd5aac928d67dd50b04436c457e679b96e02f8e439d80c770769b
|
@@ -22,7 +22,7 @@ RUN sed -i "s/999/99/" /etc/group && \
|
|
22
22
|
# - ruby, to run smartcloud gem
|
23
23
|
# - spawn-fcgi, to launch fcgiwrap and to create the unix socket
|
24
24
|
COPY fcgiwrap /root/apk-packages/fcgiwrap
|
25
|
-
RUN apk add /root/apk-packages/fcgiwrap/packages/main
|
25
|
+
RUN apk add fcgiwrap --repository /root/apk-packages/fcgiwrap/packages/main --allow-untrusted && \
|
26
26
|
rm -rf /root/apk-packages
|
27
27
|
RUN apk add --update coreutils && \
|
28
28
|
apk add --update util-linux && \
|
@@ -115,7 +115,7 @@ module Smartcloud
|
|
115
115
|
--build-arg DOCKER_GID=`getent group docker | cut -d: -f3` \
|
116
116
|
--build-arg USER_UID=`id -u` \
|
117
117
|
--build-arg USER_NAME=`id -un` \
|
118
|
-
#{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner")
|
118
|
+
#{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner", out: File::NULL)
|
119
119
|
puts "done"
|
120
120
|
end
|
121
121
|
end
|
@@ -218,13 +218,10 @@ module Smartcloud
|
|
218
218
|
end
|
219
219
|
|
220
220
|
def self.prereceive_app(appname, username, oldrev, newrev, refname)
|
221
|
-
$stdout.sync = true
|
222
221
|
logger = Logger.new($stdout)
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
$stdout.flush
|
227
|
-
sleep(1)
|
222
|
+
logger.level = Logger::INFO
|
223
|
+
logger.formatter = proc do |severity, datetime, progname, message|
|
224
|
+
"#{severity}: #{message}\n"
|
228
225
|
end
|
229
226
|
|
230
227
|
container_path = "#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/containers/#{appname}"
|