common.cfg 3.72 KB
Newer Older
Nicolas Wavrant's avatar
Nicolas Wavrant committed
1
[buildout]
2
extends =
3
  buildout.hash.cfg
4
  ../../component/bash/buildout.cfg
5
  ../../component/busybox/buildout.cfg
6
  ../../component/curl/buildout.cfg
7
  ../../component/dash/buildout.cfg
8
  ../../component/dcron/buildout.cfg
9
  ../../component/git/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
10
  ../../component/tig/buildout.cfg
11
  ../../component/logrotate/buildout.cfg
12
  ../../component/lxml-python/buildout.cfg
13
  ../../component/nano/buildout.cfg
14
  ../../component/nginx/buildout.cfg
15
  ../../component/openssh/buildout.cfg
16
  ../../component/rsync/buildout.cfg
17
  ../../component/pycurl/buildout.cfg
18
  ../../component/python-2.7/buildout.cfg
19
  ../../component/screen/buildout.cfg
20
  ../../component/shellinabox/buildout.cfg
21
  ../../component/vim/buildout.cfg
22
  ../../component/zip/buildout.cfg
23
  ../../stack/slapos.cfg
24
  ../../stack/flask.cfg
25
  ../../stack/resilient/buildout.cfg
26
  ../../stack/monitor/buildout.cfg
27

28 29 30
# stacks are listed from most generic to most specific,
# to avoid versioning issues

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
31
common-parts =
32 33
  template
  eggs
34 35
  instance-runner-import
  instance-runner-export
36
  template-slapos-cfg
37
  template-slapuser-script
38 39
# XXX: we have to manually add this for resilience
  rdiff-backup
40
  pbs-recipe-egg
41

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
42 43 44
parts =
  ${:common-parts}

45 46 47 48
# Use shellinabox from github with AF_UNIX support
[shellinabox]
<= shellinabox-github

49
[template-base]
50
recipe = slapos.recipe.template
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
url = ${:_profile_base_location_}/${:filename}
mode = 0644

[download-base]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
mode = 0644

[download-only-base]
< = download-base
ignore-existing = true
download-only = true

[template-download-base]
# Downloads from template directory into current directory
< = download-only-base
url = ${:_profile_base_location_}/template/${:filename}
68
location = ${buildout:parts-directory}/${:_buildout_section_name_}
69 70 71

[template]
< = template-base
72 73 74
output = ${buildout:directory}/template.cfg

[template-runner]
75
< = template-base
76
output = ${buildout:directory}/template-runner.cfg.in
77

78
[template-runner-import-script]
79
< = template-download-base
80 81 82
filename = runner-import.sh.jinja2

[template-runner-export-script]
83
< = template-download-base
84 85
filename = runner-export.sh.jinja2

86 87 88 89
[instance-runner-import]
< = download-base
recipe = slapos.recipe.build:download

90
[instance-runner-export]
91
< = download-base
92
recipe = slapos.recipe.build:download
93

94
[template-resilient]
95
< = download-base
96
recipe = slapos.recipe.build:download
97

98
[template_nginx_conf]
99
< = download-only-base
100

101
[template_httpd_conf]
102
< = download-only-base
103

104
[template_launcher]
105
< = download-base
106
recipe = slapos.recipe.build:download
107

108
[template-slapos-cfg]
109
< = template-download-base
110
filename = slapos.cfg.in
111

112
[template-parameters]
113
< = download-only-base
114

115
[template-bash-profile]
116
< = template-download-base
117 118
filename = bash_profile.in

119
[template-supervisord]
120
< = template-download-base
121 122
filename = supervisord.conf.in

123
[template-listener-slapgrid]
124
< = template-download-base
125 126
filename = listener_slapgrid.py.in

127
[monitor-check-webrunner-internal-instance]
128
< = template-download-base
129
destination = ${:location}/${:filename}
130 131
filename = monitor-check-webrunner-internal-instances.py

132
[template-resilient-software-release-information]
133
< = template-download-base
134 135
filename = resilient_software_release_information.py.in

136 137 138 139 140 141 142 143
[template-slapuser-script]
< = template-download-base
filename = slapos-slapuser-script.in

[template-bashrc]
< = template-download-base
filename = bashrc.in

144
[eggs]
145
recipe = zc.recipe.egg
146
eggs =
147
  ${pycurl:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
148
  collective.recipe.environment
149
  collective.recipe.template
150
  cns.recipe.symlink
151
  erp5.util
152
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
153 154
  plone.recipe.command
  slapos.recipe.build
155
  slapos.toolbox[flask_auth]
156
  gunicorn==19.7.1
157
  futures
158
  ${slapos-cookbook:eggs}
159 160 161 162

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
163
eggs +=
164
  supervisor
165