smartcloud 0.0.46 → 0.0.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/grid-nginx/fastcgi.conf +4 -2
- data/lib/smartcloud/grids/runner.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f429da1f686f6163272299d7f7ed73630d61a8cdec0b55eea74a15c61a5b634e
|
4
|
+
data.tar.gz: d93355d2a7692b9e0ee7c3b5fd6e5d8cb00fc88f1debb1ae8c97a6d74f4c327d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f88c0453021d2cfe5208f9f368eca481fddcb325a8c06837d9ebe699e9e3351d261b590d21840bbe0827eb580be76864eaa11f5eae05deeddb16edc53c547c
|
7
|
+
data.tar.gz: 6ee91f75362a2c378460a7a993286dca4181d66f642834bfcb907785f8b8ca477fcbfa304428d84138c37b0d94fae3943a1f0310b2b9efdad7e9e78bb067e9e8
|
@@ -4,6 +4,8 @@ include fastcgi_params; # Include the default fastcgi configs
|
|
4
4
|
|
5
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
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
|
-
fastcgi_param PATH_INFO $
|
7
|
+
# fastcgi_param GIT_PROJECT_ROOT /.smartcloud/grids/grid-runner/apps/repositories; # is the location of all of your git repositories.
|
8
|
+
fastcgi_param PATH_INFO $path_info; # Takes the capture group from our location directive and gives git that.
|
9
9
|
fastcgi_param REMOTE_USER $remote_user; # Forward REMOTE_USER as we want to know when we are authenticated
|
10
|
+
|
11
|
+
# IMPORTANT NOTE: Other required fastcgi_params have been defined already as environment variables in the runner container and hence need not be passed here.
|
@@ -23,6 +23,7 @@ module Smartcloud
|
|
23
23
|
--env LETSENCRYPT_HOST=#{Smartcloud.config.git_domain} \
|
24
24
|
--env LETSENCRYPT_EMAIL=#{Smartcloud.config.sysadmin_email} \
|
25
25
|
--env LETSENCRYPT_TEST=#{Smartcloud.config.letsencrypt_test} \
|
26
|
+
--env GIT_PROJECT_ROOT='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/repositories'
|
26
27
|
--expose='9000' \
|
27
28
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
|
28
29
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner:#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner' \
|