smartcloud 0.0.94 → 0.0.99

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: caa2b175a3d38a81b2f1ae38001e19b29ddeb65132fd67edacb73ce390fc838c
4
- data.tar.gz: a800cac8921fd76fdac426c7a3086e9c4cd30072d93574706ba621ae00d39df0
3
+ metadata.gz: c7176f7643cd685414078d6043d4021bf728972306ba6e0be6a917c21cebf57b
4
+ data.tar.gz: 9e26d28646b49007eb30704a9b4fa646d44c0faeb307281d0834b2cd46d76b35
5
5
  SHA512:
6
- metadata.gz: bff5a39fe79036a80f0493001715504e31827d23b96a2450b4a25c9b36205ac2a71b4693a796ee6a963cb18b02cab4beab10700e3fc43e9deafda0e49d2d069e
7
- data.tar.gz: 1e09c2b6898357da5577d1fa6ea49983d40df9a038a0575e3fd2d8c40fcccd8b48f13ce43c5f517d654bb5743cdb8a5aa5511ba6e5003740ec9788c2ac774fc9
6
+ metadata.gz: b2f6b16f850ff118a662ceceac1df1efcae04ae9a407a4f41bef9b959a6ec5cc63416e80e9d37c45828e72021c75363e55fc6d64eb83a3f4fdcaf3c0256e44e7
7
+ data.tar.gz: 702a81065aba3dd0b0aa4cd6b5187308db6c5e32e6dc06f6579a09bb26661c1944a033771b730e5803e79e4f9d9cf55e2ef6de14819c1b5ada1ad17cfda1209a
@@ -1,9 +1,6 @@
1
1
  require "ostruct"
2
2
  require "logger"
3
3
 
4
- $stdout.sync = true
5
- logger = Logger.new($stdout)
6
-
7
4
  # The main Smartcloud driver
8
5
  module Smartcloud
9
6
  def self.config
@@ -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,8 +218,12 @@ module Smartcloud
218
218
  end
219
219
 
220
220
  def self.prereceive_app(appname, username, oldrev, newrev, refname)
221
+ $stdout.sync = true
222
+ logger = Logger.new($stdout)
223
+
221
224
  5.times do
222
- logger.info '.'
225
+ puts '.'
226
+ $stdout.flush
223
227
  sleep(1)
224
228
  end
225
229
 
@@ -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
+ runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname | stdbuf -i0 -oL -e0
13
13
  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.94
4
+ version: 0.0.99
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