Commit 68ef76d1 authored by Kirill Smelkov's avatar Kirill Smelkov

X Stub gitlab-workhorse service

parent 509818df
......@@ -18,7 +18,7 @@ parts =
gitlab-root-shadow
# service-gitlab-workhorse
service-gitlab-workhorse
# service-gitlab-unicorn
# service-gitlab-sidekiq
......@@ -360,7 +360,18 @@ port = 0
########################
# gitlab-workhorse #
########################
# TODO
[gitlab-workhorse]
recipe = slapos.cookbook:mkdirectory
srv = ${directory:srv}/gitlab-workhorse
# TODO -authBackend/authSocket ?-pprofListenAddr
[service-gitlab-workhorse]
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:service}/gitlab-workhorse
command-line = {{ gitlab_workhorse }}
-listenNetwork unix
-listenAddr ${gitlab-workhorse:srv}/gitlab-workhorse.socket
######################
......
......@@ -31,6 +31,7 @@ context =
key software_release_url slap-connection:software-release-url
raw gitlab_repository_location ${gitlab-repository:location}
raw bundler_4gitlab ${bundler-4gitlab:bundle}
raw gitlab_workhorse ${gitlab-workhorse:location}/gitlab-workhorse
raw git ${git:location}/bin/git
raw nginx_bin ${nginx-output:nginx}
raw mime_types ${nginx-output:mime}
......
......@@ -2,6 +2,13 @@
# see:
# https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/database.yml.postgresql
# https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/database.yml.erb
# (last updated for 8.1.0+rc1.ce.0-77-ge349060)
# XXX encoding?
# XXX collation ?
# XXX pool -> cfg
# XXX sslmode ?
# XXX sslrootcert ?
production:
adapter: postgresql
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment