Merge branch 'slaposmaster' into erp5testnode
[slapos.git] / software / erp5testnode / software.cfg
1 [buildout]
2
3 find-links = http://www.nexedi.org/static/packages/source/slapos.buildout/
4     http://dist.repoze.org
5     http://www.nexedi.org/static/packages/source/
6
7 # Separate from site eggs
8 allowed-eggs-from-site-packages =
9 include-site-packages = false
10 exec-sitecustomize = false
11
12 versions = versions
13
14 extends =
15   ../../stack/shacache-client.cfg
16   ../../component/python-2.7/buildout.cfg
17   ../../component/subversion/buildout.cfg
18   ../../component/git/buildout.cfg
19   ../../component/lxml-python/buildout.cfg
20   ../../component/zip/buildout.cfg
21
22 parts =
23   template
24   eggs
25   subversion
26   zip
27   git
28   checkrecipe
29
30 # Separate from site eggs
31 allowed-eggs-from-site-packages =
32 include-site-packages = false
33 exec-sitecustomize = false
34
35 # Use only quite well working sites.
36 allow-hosts =
37   *.nexedi.org
38   *.python.org
39   *.sourceforge.net
40   dist.repoze.org
41   effbot.org
42   github.com
43   peak.telecommunity.com
44   psutil.googlecode.com
45   www.dabeaz.com
46
47 develop =
48   ${:parts-directory}/slapos.cookbook-repository
49
50 [checkrecipe]
51 recipe = plone.recipe.command
52 stop-on-error = true
53 update-command = ${:command}
54 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
55
56 [slapos.cookbook-repository]
57 recipe = plone.recipe.command
58 stop-on-error = true
59 location = ${buildout:parts-directory}/${:_buildout_section_name_}
60 command = ${git:location}/bin/git clone -b erp5testnode --quiet http://git.erp5.org/repos/slapos.git ${:location}
61 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
62
63 [versions]
64 # Use SlapOS patched zc.buildout
65 zc.buildout = 1.5.3-dev-SlapOS-005
66
67 [eggs]
68 recipe = z3c.recipe.scripts
69 # Just so buildout executes [slapos.cookbook-repository] before [eggs], as
70 # - [eggs] references [slapos.cookbook-repository]
71 # - [instance-recipe] needs [slapos.cookbook-repository] to be finished
72 # - we cannot rely on anything else being executed before [eggs]
73 dummy =
74   ${slapos.cookbook-repository:location}
75 eggs =
76   ${lxml-python:egg}
77   zc.buildout
78   slapos.libnetworkcache
79   slapos.core
80   slapos.cookbook
81
82 scripts =
83   slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
84   slapgrid-cp = slapos.grid.slapgrid:runComputerPartition
85   slapproxy = sslapos.proxy:main
86
87 python = python2.7
88
89 [lxml-python]
90 python = python2.7
91
92 [template]
93 recipe = slapos.recipe.template
94 url = ${:_profile_base_location_}/instance.cfg
95 output = ${buildout:directory}/template.cfg
96 mode = 0644