smartcloud 0.0.96 → 0.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da509bb8a43c0fa4bd5249f9376ac9dde43ea9e97ef42be5b082f3b91712eee5
|
4
|
+
data.tar.gz: 1363f3eddca16d20ed34e7a75322465d92c1e54eb21798a6309db8ded61d7b87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e324be2815de00140660df9ad151a49da654caa01f15fab28c0bca3b6da9332bf1bc968cb596041509046940ad7b4cf558fbcd23fe90eb7f5fecdc294ab7005a
|
7
|
+
data.tar.gz: 0e4475ebef34c42702ea037e408a5053faf2004fc1e7baa05d993269f5a3201702bd9304734309674b3a74eba2e5a5481db8b598a4e19cb2e9a8c0293877506c
|
data/lib/smartcloud.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
client_max_body_size 0; # Git pushes can be massive, just to make sure nginx doesn't suddenly cut the connection add this.
|
1
|
+
client_max_body_size 0; # Git pushes can be massive, just to make sure nginx doesn't suddenly cut the connection add this. Setting to 0 disables checking of client_max_body_size
|
2
|
+
fastcgi_buffering off; # disables buffering of responses from the FastCGI server to nginx
|
2
3
|
|
3
4
|
include fastcgi_params; # Include the default fastcgi configs
|
4
5
|
|
6
|
+
fastcgi_param NO_BUFFERING 1; # disables buffering of fcgiwrap
|
5
7
|
fastcgi_param SCRIPT_FILENAME /usr/libexec/git-core/git-http-backend; # Tells fastcgi to pass the request to the git http backend executable.
|
6
8
|
fastcgi_param PATH_INFO $uri; # Takes the capture group from our location directive and gives git that.
|
7
9
|
fastcgi_param REMOTE_USER $remote_user; # Forward REMOTE_USER as we want to know when we are authenticated
|
@@ -17,7 +17,8 @@ RUN sed -i "s/999/99/" /etc/group && \
|
|
17
17
|
# - git, because that gets us the git-http-backend CGI script
|
18
18
|
# - fcgiwrap, because that is how nginx does CGI
|
19
19
|
# - spawn-fcgi, to launch fcgiwrap and to create the unix socket
|
20
|
-
RUN apk add --update
|
20
|
+
RUN apk add --update coreutils && \
|
21
|
+
apk add --update git && \
|
21
22
|
apk add --update git-daemon && \
|
22
23
|
apk add --update ruby && \
|
23
24
|
apk add --update fcgiwrap && \
|
@@ -218,10 +218,12 @@ module Smartcloud
|
|
218
218
|
end
|
219
219
|
|
220
220
|
def self.prereceive_app(appname, username, oldrev, newrev, refname)
|
221
|
-
|
221
|
+
$stdout.sync = true
|
222
|
+
logger = Logger.new($stdout)
|
222
223
|
|
223
224
|
5.times do
|
224
|
-
|
225
|
+
puts '.'
|
226
|
+
$stdout.flush
|
225
227
|
sleep(1)
|
226
228
|
end
|
227
229
|
|
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.101
|
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-02 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
|