Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
adafde55
Commit
adafde55
authored
Jul 13, 2015
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Start of database.yml
parent
50793218
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
software/gitlab/instance.cfg.in
software/gitlab/instance.cfg.in
+6
-1
software/gitlab/software.cfg
software/gitlab/software.cfg
+10
-0
software/gitlab/template/database.yml.in
software/gitlab/template/database.yml.in
+15
-0
No files found.
software/gitlab/instance.cfg.in
View file @
adafde55
...
...
@@ -41,6 +41,11 @@ log = $${directory:log}/gitlab
var = $${directory:var}/gitlab
[gitlab-database.yml]
recipe = slapos.recipe.template
url = ${database.yml.in:target}
output = $${gitlab:etc}/database.yml
# TODO log: logrotate
...
...
@@ -100,7 +105,7 @@ command =
for i in ${gitlab-repository:location}/config/* ; do ln -s $i ; done &&
ln -s $${gitlab:etc}/unicorn.rb . &&
ln -s $${gitlab:etc}/gitlab.yml . &&
ln -s $${gitlab
:etc}/database.yml .
&&
ln -s $${gitlab
-database.yml:output} database.yml
&&
ln -s $${gitlab:etc}/resque.yml . &&
# config/initializers/
rm initializers && mkdir initializers && cd initializers &&
...
...
software/gitlab/software.cfg
View file @
adafde55
...
...
@@ -31,6 +31,8 @@ parts =
gitlab-shell/vendor
gitlab/vendor/bundle
database.yml.in
# gems
...
...
@@ -158,6 +160,14 @@ output = ${buildout:directory}/instance.cfg
# TODO md5
# TODO parts/database.yml.in/database.yml.in -> parts/database.yml.in
[database.yml.in]
recipe = slapos.recipe.download
download-only = true
url = ${:_profile_base_location_}/template/${:_buildout_section_name_}
# TODO md5sum
# [buildout]
# gems-directory = gemsAAA # XXX = good idea?
...
...
software/gitlab/template/database.yml.in
0 → 100644
View file @
adafde55
# @autogenerated XXX
# 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
production:
adapter: postgresql
encoding: unicode
database: gitlabhq_production
pool: 10
# username: git
# password:
# host:
# port: 5432
# socket:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment