gitlab: Add empty instance
[slapos.git] / software / gitlab / instance.cfg.in
1 # GitLab "switch-softwaretype" instance
2 [buildout]
3 parts = switch-softwaretype
4
5 # std stuff for slapos instance
6 eggs-directory = ${buildout:eggs-directory}
7 develop-eggs-directory = ${buildout:develop-eggs-directory}
8 offline = true
9
10
11 [switch-softwaretype]
12 recipe = slapos.cookbook:softwaretype
13 default = $${instance-gitlab.cfg:rendered}
14 # TODO -export, -import, -pull-backup
15
16
17 [instance-gitlab.cfg]
18 recipe  = slapos.recipe.template:jinja2
19 mode    = 0644
20 template= ${instance-gitlab.cfg.in:target}
21 rendered= $${buildout:directory}/instance-gitlab.cfg
22 context =
23     key eggs_directory          buildout:eggs-directory
24     key develop_eggs_directory  buildout:develop-eggs-directory
25
26 # program binaries
27     raw dcron_bin                   ${dcron-output:crond}
28     raw gunzip_bin                  ${gzip:location}/bin/gunzip
29     raw gzip_bin                    ${gzip:location}/bin/gzip
30     raw logrotate_bin               ${logrotate:location}/usr/sbin/logrotate