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: 1f0b73f388d852f471fe66600612f06bad8dd6a52342b5833c445f6466a0d2f1
4
- data.tar.gz: e1144438ddf18a79ab5fc7eb142ddc749ccd541a4c874949e900ed76a531d9d1
3
+ metadata.gz: da509bb8a43c0fa4bd5249f9376ac9dde43ea9e97ef42be5b082f3b91712eee5
4
+ data.tar.gz: 1363f3eddca16d20ed34e7a75322465d92c1e54eb21798a6309db8ded61d7b87
5
5
  SHA512:
6
- metadata.gz: 98202697dcf35c1e514275c29b611b7198cdf0f44a597f9d9221975aee04d51a3351ce867584fa2065e2a532914e438cb5fc1542b87f7c8a47e4c808d4dad4d2
7
- data.tar.gz: 33e8891fe7f4d564594688f41e0d87ff2ab6d49c5d0c615e7823acb64b9fd1d6a32f5cc60bbfd49da87e10fb7aa3c731d3158c22a138423b7ffca0cd8dd16d17
6
+ metadata.gz: e324be2815de00140660df9ad151a49da654caa01f15fab28c0bca3b6da9332bf1bc968cb596041509046940ad7b4cf558fbcd23fe90eb7f5fecdc294ab7005a
7
+ data.tar.gz: 0e4475ebef34c42702ea037e408a5053faf2004fc1e7baa05d993269f5a3201702bd9304734309674b3a74eba2e5a5481db8b598a4e19cb2e9a8c0293877506c
@@ -1,8 +1,6 @@
1
1
  require "ostruct"
2
2
  require "logger"
3
3
 
4
- STDOUT.sync = false
5
-
6
4
  # The main Smartcloud driver
7
5
  module Smartcloud
8
6
  def self.config
@@ -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 git && \
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
- logger = Logger.new(STDOUT)
221
+ $stdout.sync = true
222
+ logger = Logger.new($stdout)
222
223
 
223
224
  5.times do
224
- logger.info '.'
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.96
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-01 00:00:00.000000000 Z
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