smartcloud 0.0.137 → 0.0.138

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: bd036957682148b75aacb850bf84952694f2d7cd8f3cd364572b741d77aed734
4
- data.tar.gz: cc14349ca8d46f29bfc8970c928e4fab1826dd0425d8a928e2cc3bb896a06492
3
+ metadata.gz: 290d733d7d1544f87382e5df27a868e7a18ae120e09be189b1be9c20bc710fdb
4
+ data.tar.gz: 30dc990d866c842274cec684ab0febaa9d630400171dae5cd6f34321481ad3fc
5
5
  SHA512:
6
- metadata.gz: 40ed09ebdf890c85a1273e37405fb7b61b92ad45cdd536de0176e8bad259abc586c8f8e9dcc5c1c2cb5ca1b3dc46785e1182b721585fd5edb297b457e965e5ee
7
- data.tar.gz: e2effc6ac38bc68dcca4773bc5ad5f957801f52c615dbf431b38859f5a8b2651b90829b0e9898aea2139491357d28eb433f8e87d8d3a50b05dd9712556969470
6
+ metadata.gz: fb83a259a9a11a8db3c9a9c6d5bb3239fb8943b6fdade9261792003ce5daa05a6ddf9024818326564cfc62f0496d135a7853ee0d60a714a320e2e4245313647a
7
+ data.tar.gz: 5542ef39f8271606c550b61e2a67b5b56c88ae184d1bda29f35a7413d40f85955e10347c7c6ef0e02bc4943cbd0ea3bd25de1e1be0f71007b26f442bc0a2e24c
@@ -21,32 +21,18 @@ RUN sed -i "s/999/99/" /etc/group && \
21
21
  # - git and git-daemon, because that gets us the git-http-backend CGI script
22
22
  # - ruby, to run smartcloud gem
23
23
  # - spawn-fcgi, to launch fcgiwrap and to create the unix socket
24
- COPY fcgiwrap /root/apk-packages/fcgiwrap
25
- RUN apk add /root/apk-packages/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk --allow-untrusted && \
26
- rm -rf /root/apk-packages
24
+ # COPY fcgiwrap /root/apk-packages/fcgiwrap
25
+ # RUN apk add /root/apk-packages/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk --allow-untrusted && \
26
+ # rm -rf /root/apk-packages
27
27
  RUN apk add --update coreutils && \
28
+ apk add --update util-linux && \
28
29
  apk add --update git && \
29
30
  apk add --update git-daemon && \
30
31
  apk add --update ruby && \
32
+ apk add --update fcgiwrap && \
31
33
  apk add --update spawn-fcgi && \
32
- apk add --update lsof && \
33
- apk add --update util-linux && \
34
34
  rm -rf /var/cache/apk/*
35
35
 
36
36
  RUN gem install smartcloud --no-rdoc --no-ri
37
37
 
38
- # COPY spawner.rb "/spawner.rb"
39
-
40
- # Generating entrypoint file
41
- # RUN echo -e '#!/bin/sh\n\
42
- # \n\
43
- # ruby /spawner.rb\n\
44
- # \n\
45
- # su - $USER_NAME\n\
46
- # \n\
47
- # exec "$@"' >> /entrypoint; chmod +x /entrypoint;
48
-
49
- # Set entrypoint
50
- #ENTRYPOINT ["/entrypoint"]
51
-
52
38
  CMD "git, fcgiwrap & spawn-fcgi installed"
@@ -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
- script -qfc "runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname"
12
+ script -qfc "runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname" /home/$(whoami)/.smartcloud/grids/grid-runner/apps/containers/$REPOSITORY_BASENAME/typescript
13
13
  done
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.137
4
+ version: 0.0.138
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard
@@ -41,7 +41,6 @@ files:
41
41
  - lib/smartcloud/grids/grid-runner/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk
42
42
  - lib/smartcloud/grids/grid-runner/fcgiwrap/packages/main/x86_64/fcgiwrap-doc-1.1.1-r4.apk
43
43
  - lib/smartcloud/grids/grid-runner/fcgiwrap/packages/main/x86_64/fcgiwrap-openrc-1.1.1-r4.apk
44
- - lib/smartcloud/grids/grid-runner/spawner.rb
45
44
  - lib/smartcloud/grids/grid-solr/docker-entrypoint-initdb.d/.keep
46
45
  - lib/smartcloud/grids/grid-solr/sunspot/conf/schema.xml
47
46
  - lib/smartcloud/grids/grid-solr/sunspot/conf/solrconfig.xml
@@ -1,14 +0,0 @@
1
- require "pty"
2
-
3
- begin
4
- PTY.spawn("spawn-fcgi -n -p 9000 /usr/bin/fcgiwrap -f") do |stdout, stdin, pid|
5
- begin
6
- # Do stuff with the output here. Just printing to show it works
7
- stdout.each { |line| print line }
8
- rescue Errno::EIO
9
- # puts "Errno:EIO error, but this probably just means that the process has finished giving output"
10
- end
11
- end
12
- rescue PTY::ChildExited
13
- puts "The child process exited!"
14
- end