smartcloud 0.0.52 → 0.0.53
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a51ea5220f8369af62e7af8d07756839cdd67c6c64b7f6a0e2f84c9f6e626870
|
4
|
+
data.tar.gz: 5ab1989753710825e0bca32c236a329be406fa3215e0afef5e28742ef8ab3fdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b00e31e0a7eddbda9442b86f54396bb588596cc0c18926ca7908bb1b94648b19707afc7d7a14e9c04dcb5e2072d7434372b872aa766351eea1074a75a26e70
|
7
|
+
data.tar.gz: '091d98575f537ff8e1e76a9160afb3b455f3fb4b091b47c905cbf25ecf3c1c41be71a556cf1ea0eb967d3b260bf748c3f0069843abeecf57fd7006c89d1020cc'
|
@@ -2,9 +2,6 @@ client_max_body_size 0; # Git pushes can be massive, just to make sure nginx doe
|
|
2
2
|
|
3
3
|
include fastcgi_params; # Include the default fastcgi configs
|
4
4
|
|
5
|
-
fastcgi_param SCRIPT_FILENAME /usr/libexec/git-core/git-http-backend; # Tells fastcgi to pass the request to the git http backend executable.
|
6
|
-
fastcgi_param GIT_HTTP_EXPORT_ALL "";
|
7
|
-
# fastcgi_param GIT_PROJECT_ROOT /.smartcloud/grids/grid-runner/apps/repositories; # is the location of all of your git repositories.
|
8
5
|
fastcgi_param PATH_INFO $uri; # Takes the capture group from our location directive and gives git that.
|
9
6
|
fastcgi_param REMOTE_USER $remote_user; # Forward REMOTE_USER as we want to know when we are authenticated
|
10
7
|
|
@@ -26,6 +26,11 @@ RUN apk add --update git && \
|
|
26
26
|
|
27
27
|
RUN gem install smartcloud --no-rdoc --no-ri
|
28
28
|
|
29
|
+
# Setting environment variables for git-http-backend to use pre-receive hook
|
30
|
+
# These will be used by fcgiwrap for fcgi
|
31
|
+
ENV SCRIPT_FILENAME=/usr/libexec/git-core/git-http-backend
|
32
|
+
ENV GIT_HTTP_EXPORT_ALL=""
|
33
|
+
|
29
34
|
# launch fcgiwrap via spawn-fcgi; launch nginx in the foreground
|
30
35
|
# so the container doesn't die on us; supposedly we should be
|
31
36
|
# using supervisord or something like that instead, but this
|