forked from ENCODE-DCC/snovault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
137 lines (122 loc) · 3.4 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
[buildout]
extensions =
mr.developer
extends = versions.cfg
# XXX https://bitbucket.org/pypa/setuptools/issue/133/find-links-should-override-allow-hosts
allow-hosts =
pypi.org
files.pythonhosted.org
github.com
find-links =
show-picked-versions = true
update-versions-file = versions.cfg
parts =
snovault
production-ini
production
production-indexer
ckeditor
npm-install
compile-js
compile-css
test
aws-ip-ranges
develop = .
sources-dir = develop
auto-checkout =
[sources]
behave = git https://github.com/behave/behave.git
behaving = git https://github.com/ggozad/behaving.git
jsonschema = git https://github.com/lrowe/jsonschema_serialize_fork.git
subprocess_middleware = git https://github.com/lrowe/subprocess_middleware.git
subprocess-middleware-node = git https://github.com/lrowe/subprocess-middleware-node.git egg=false
pyramid = git https://github.com/Pylons/pyramid.git
pyramid_multiauth = git https://github.com/mozilla-services/pyramid_multiauth.git
pytest = hg https://bitbucket.org/hpk42/pytest
rdflib = git https://github.com/lrowe/rdflib.git branch=patch-1
rdflib-jsonld = git https://github.com/lrowe/rdflib-jsonld.git branch=patch-1
jsonform = git https://github.com/lrowe/jsonform.git egg=false
webtest = git https://github.com/Pylons/webtest.git
WSGIProxy2 = git https://github.com/lrowe/WSGIProxy2.git
zope.sqlalchemy = git https://github.com/zopefoundation/zope.sqlalchemy.git
pytest-bdd = git https://github.com/lrowe/pytest-bdd.git branch=allow-any-step-order
[versions]
# Hand set versions
elasticsearch = 5.4.0
[snovault]
recipe = zc.recipe.egg
eggs =
SPARQLWrapper
snovault
pyramid
waitress
psycopg2
repoze.debug
rutter
pyramid_translogger
redis
interpreter = py
[production-ini]
recipe = collective.recipe.template
input = ${buildout:directory}/production.ini.in
output = ${buildout:directory}/production.ini
accession_factory = snowflakes.server_defaults.test_accession
file_upload_bucket = snowflakes-files-dev
blob_bucket = snovault-blobs-dev
indexer_processes =
[production]
recipe = collective.recipe.modwsgi
eggs =
snovault
psycopg2
config-file = ${buildout:directory}/production.ini
[production-indexer]
<= production
app_name = indexer
[ckeditor]
recipe = collective.recipe.cmd
on_install = true
on_update = true
# See http://stackoverflow.com/a/23108309/199100
#TODO consider moving this to snovault-build
cmds =
curl https://s3-us-west-1.amazonaws.com/encoded-build/ckeditor/ckeditor_4.5.5_standard.zip | bsdtar -xf- -C src/snowflakes/static/build/
[aws-ip-ranges]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
curl -o aws-ip-ranges.json https://ip-ranges.amazonaws.com/ip-ranges.json
[npm-install]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm_config_cache="" npm install
[compile-js]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm run build
[compile-css]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = compass compile
[test]
recipe = zc.recipe.egg
eggs =
coverage
snovault[test]
psycopg2
pytest
pytest-timeout
pytest-instafail
pytest-cov
pytest-bdd
redis
scripts =
coverage
py.test=test
pytest-bdd
# Avoid ``Unix-domain socket path "..." is too long (maximum 103 bytes)``
initialization = import tempfile; tempfile.tempdir = '/tmp'