forked from mistio/mist-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
143 lines (118 loc) · 3.6 KB
/
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[buildout]
extensions =
mr.developer
parts =
cloudpy
mist
uwsgi
haproxy
rabbitmq
rabbitmq-env
rabbitmq-conf
libevent
memcached
supervisor
devtools
pylint
behave
test
chromedriver
chromedriver-mac
develop = .
src/libcloud
src/paramiko
sources = sources
versions = versions
auto-checkout = *
eggs =
allow-hosts=*.python.org
[mist]
recipe = zc.recipe.egg
dependent-scripts = true
eggs =
mist.io
PasteScript
[uwsgi]
recipe = unweb.recipe.uwsgi
url = http://projects.unbit.it/downloads/uwsgi-2.0.5.1.tar.gz
eggs =
${mist:eggs}
[haproxy]
recipe = plone.recipe.haproxy
target = generic
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.25.tar.gz
[rabbitmq]
recipe = gocept.download
url = http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.0/rabbitmq-server-generic-unix-3.3.0.tar.gz
md5sum = 12a54f6ed64e5118cee7a6d1f7b8111d
[rabbitmq-env]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/rabbitmq-env.conf.in
output = ${buildout:parts-directory}/rabbitmq/etc/rabbitmq/rabbitmq-env.conf
[rabbitmq-conf]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/rabbitmq.config.in
output = ${buildout:parts-directory}/rabbitmq/etc/rabbitmq/rabbitmq.config
[libevent]
recipe = hexagonit.recipe.cmmi
url = http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.21-stable.tar.gz
[memcached]
recipe = hexagonit.recipe.cmmi
url = http://www.memcached.org/files/memcached-1.4.20.tar.gz
configure-options = --with-libevent=${libevent:location} --bindir=${buildout:directory}/bin
[supervisor]
recipe = collective.recipe.supervisor
programs =
10 haproxy ${buildout:bin-directory}/haproxy [ -f haproxy.conf -db ] ${buildout:directory}
20 socketio ${buildout:directory}/bin/cloudpy [ serve.py 8081 ] ${buildout:directory}
40 uwsgi ${buildout:directory}/bin/uwsgi [ -x ${buildout:parts-directory}/uwsgi/uwsgi.xml --log-drain http.c --paste-logger --ini-paste uwsgi.ini ] ${buildout:directory}
60 celery ${buildout:bin-directory}/celery [ worker -n celery1@localhost -A mist.io.celery_app -l WARNING -c 32 ] ${buildout:directory}
70 rabbitmq ${buildout:parts-directory}/rabbitmq/sbin/rabbitmq-server ${buildout:directory}
80 memcache ${buildout:bin-directory}/memcached [ -l 127.0.0.1 ]
[cloudpy]
recipe = zc.recipe.egg
eggs =
ipython
Pillow
${mist:eggs}
scripts = ipython=cloudpy
[devtools]
recipe = zc.recipe.egg:scripts
eggs =
pep8
sphinx
${mist:eggs}
[pylint]
recipe = zc.recipe.egg
eggs =
pylint
${mist:eggs}
scripts = pylint
entry-points = pylint=pylint.lint:Run
arguments = sys.argv[1:]
[behave]
recipe = zc.recipe.egg
eggs = ${mist:eggs}
interpreter = ${buildout:directory}/cloudpy
[chromedriver]
recipe = hexagonit.recipe.download
url = http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip
[chromedriver-mac]
recipe = hexagonit.recipe.download
url = http://chromedriver.storage.googleapis.com/2.10/chromedriver_mac32.zip
[test]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
cat <<EOF > ${buildout:directory}/bin/test
#!/bin/sh
${buildout:directory}/bin/behave --no-capture \$@ ${buildout:directory}/src/mist/io/tests/gui/features
EOF
chmod a+x ${buildout:directory}/bin/test
[sources]
libcloud = git https://github.com/mistio/libcloud.git branch=mistio
paramiko = git https://github.com/paramiko/paramiko.git rev=21cb9a2d86b2c0419444ea7c2e5e1c35a62b6373
deploy_collectd = git https://github.com/mistio/deploy_collectd.git egg=false
[versions]
pyramid = 1.4