smartcloud 0.0.42 → 0.0.47
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:
|
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.
|
@@ -2,12 +2,16 @@ FROM docker:latest
|
|
2
2
|
MAINTAINER Timeboard <hello@timeboard.me>
|
3
3
|
|
4
4
|
# Setting up group and user
|
5
|
+
# - envs
|
5
6
|
ARG DOCKER_GID
|
6
7
|
ARG USER_UID
|
7
8
|
ARG USER_NAME
|
8
|
-
#
|
9
|
-
|
10
|
-
|
9
|
+
# - fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
|
10
|
+
# - Create group & user. Then add user to group
|
11
|
+
RUN sed -i "s/999/99/" /etc/group && \
|
12
|
+
addgroup --gid "$DOCKER_GID" "docker" && \
|
13
|
+
adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
|
14
|
+
adduser "$USER_NAME" "docker"
|
11
15
|
|
12
16
|
# We need the following:
|
13
17
|
# - git, because that gets us the git-http-backend CGI script
|
@@ -23,7 +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
|
26
|
+
--env GIT_PROJECT_ROOT='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/repositories'
|
27
27
|
--expose='9000' \
|
28
28
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
|
29
29
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner:#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner' \
|
@@ -110,7 +110,7 @@ module Smartcloud
|
|
110
110
|
--build-arg DOCKER_GID=`getent group docker | cut -d: -f3` \
|
111
111
|
--build-arg USER_UID=`id -u` \
|
112
112
|
--build-arg USER_NAME=`id -un` \
|
113
|
-
#{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner")
|
113
|
+
#{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner", out: File::NULL)
|
114
114
|
puts "done"
|
115
115
|
end
|
116
116
|
end
|
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.
|
4
|
+
version: 0.0.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timeboard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-31 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
|