smartcloud 0.0.46 → 0.0.51

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: 0a1ccd07b6d054b992cb27529c89599aa585822fc2bfdc5f5087ff5c87d3a6b0
4
- data.tar.gz: 7a71319b8c202d7d15ad46b3b3be03e034d7aa80e49d5f7c21b082b8abb6bede
3
+ metadata.gz: e719514b799812fee2b0af6238b7e3a1e713697d950e01fc09ad0ad82b04663b
4
+ data.tar.gz: 882cc6074f679a9ff67d3deffe4375b276524569931ce1e76946c7c0f7c6bf02
5
5
  SHA512:
6
- metadata.gz: 27ab45ab9b9e6ccf2b81810ad3333e58600b06a1de5daa9a26aa58e837ca65ad5dbe08aea7d44e50d31e344ae149ef5b0deda7a8053f0e14dd583f0c50e2bded
7
- data.tar.gz: ff0ef27f9ba830c36776c51c039a3c7c1f5f72a407667f10a850cf09fdf62cbe2b041415ed6be450dc0ff7b003ac1d6d7e278c54b4ca3874ba5f15e2cbdb0a45
6
+ metadata.gz: f22aaa740be0bb01a47a8765e12a849ad27f8b75a4bd65e4d4e921ac639429fb72ab325fc4d00c713aab6484ccc28ea0480237cb9d9e993a804a034cfe6c49b4
7
+ data.tar.gz: 45983a982f00d9cfc8bf4a68388756e35b1ce6dc4708d3d42d2792b6fa242e70c1e8491e7104e8f7a44a4623aea1964d6abb3badcce237ed4a8241e4827b7c40
@@ -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.
7
+ # fastcgi_param GIT_PROJECT_ROOT /.smartcloud/grids/grid-runner/apps/repositories; # is the location of all of your git repositories.
8
8
  fastcgi_param PATH_INFO $uri; # 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 as environment variables in the runner container and hence need not be passed here.
@@ -76,6 +76,7 @@ module Smartcloud
76
76
  --name='nginx-letsencrypt' \
77
77
  --env NGINX_PROXY_CONTAINER=nginx \
78
78
  --env NGINX_DOCKER_GEN_CONTAINER=nginx-gen \
79
+ --env DEFAULT_EMAIL=#{Smartcloud.config.sysadmin_email} \
79
80
  --volumes-from nginx \
80
81
  --volume='/var/run/docker.sock:/var/run/docker.sock:ro' \
81
82
  --restart='always' \
@@ -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_ROO=#{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' \
@@ -0,0 +1,77 @@
1
+ # Copyright 1999-2009 Gentoo Foundation
2
+ # Distributed under the terms of the GNU General Public License v2
3
+ # $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v 1.6 2009/09/28 08:38:02 bangert Exp $
4
+
5
+ # DO NOT MODIFY THIS FILE DIRECTLY! CREATE A COPY AND MODIFY THAT INSTEAD!
6
+
7
+ # The FCGI process can be made available through a filesystem socket or
8
+ # through a inet socket. One and only one of the two types must be choosen.
9
+ # Default is the inet socket.
10
+
11
+ # The filename specified by
12
+ # FCGI_SOCKET will be suffixed with a number for each child process, for
13
+ # example, fcgi.socket-1.
14
+ # Leave empty to use an IP socket (default). See below. Enabling this,
15
+ # disables the IP socket.
16
+ #
17
+ #FCGI_SOCKET=
18
+
19
+ # When using FCGI_PORT, connections will only be accepted from the following
20
+ # address. The default is 127.0.0.1. Use 0.0.0.0 to bind to all addresses.
21
+ #
22
+ #FCGI_ADDRESS=
23
+
24
+ # The port specified by FCGI_PORT is the port used
25
+ # by the first child process. If this is set to 1234 then subsequent child
26
+ # processes will use 1235, 1236, etc.
27
+ # The default is 1234 if FCGI_SOCKET is not set
28
+ #
29
+ #FCGI_PORT=
30
+
31
+ # The path to your FastCGI application. These sometimes carry the .fcgi
32
+ # extension but not always. For PHP, you should usually point this to
33
+ # /usr/bin/php-cgi.
34
+ #
35
+ #FCGI_PROGRAM=
36
+
37
+ # The number of child processes to spawn. The default is 1.
38
+ #
39
+ #FCGI_CHILDREN=
40
+
41
+ # If you want to run your application inside a chroot then specify the
42
+ # directory here. Leave this blank otherwise.
43
+ #
44
+ #FCGI_CHROOT=
45
+
46
+ # If you want to run your application from a specific directiory specify
47
+ # it here. Leave this blank otherwise.
48
+ #
49
+ #FCGI_CHDIR=
50
+
51
+ # The user and group to run your application as. If you do not specify these,
52
+ # the application will be run as root:root.
53
+ #
54
+ #FCGI_USER=
55
+ #FCGI_GROUP=
56
+
57
+ # Additional options you might want to pass to spawn-fcgi
58
+ #
59
+ #FCGI_EXTRA_OPTIONS=
60
+
61
+ # If your application requires additional environment variables, you may
62
+ # specify them here. See PHP example below.
63
+ #
64
+ #ALLOWED_ENV="PATH"
65
+
66
+ # PHP ONLY :: These two options are specific to PHP. The first is the number
67
+ # of child processes to spawn. The second is the number of requests to be
68
+ # served by a single PHP process before it is restarted.
69
+ #
70
+ #PHP_FCGI_CHILDREN=5
71
+ #PHP_FCGI_MAX_REQUESTS=500
72
+ #
73
+ # For this to work you would set
74
+ # ALLOWED_ENV="PATH PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS"
75
+
76
+ # GIT ONLY :: Environment Variables
77
+ ALLOWED_ENV="GIT_PROJECT_ROOT"
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.46
4
+ version: 0.0.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard
@@ -49,6 +49,7 @@ files:
49
49
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/apps/repositories/.keep
50
50
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/buildpacks/rails/gems/.keep
51
51
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
52
+ - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/spawn-fcgi.conf
52
53
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/.keep
53
54
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/README.txt
54
55
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/configsets/_default/conf/lang/contractions_ca.txt