software.cfg 1.9 KB
Newer Older
1 2

[buildout]
Rafael Monnerat's avatar
Rafael Monnerat committed
3
extends = ../../stack/slapos.cfg
4
          ../../component/lxml-python/buildout.cfg
Rafael Monnerat's avatar
Rafael Monnerat committed
5
          ../../component/git/buildout.cfg
6

7 8 9 10
parts = erp5.util-repository
        slapos.cookbook-repository
        runTestSuite
        eggs
Rafael Monnerat's avatar
Rafael Monnerat committed
11 12 13
        slapos.core-repository
        slapos.recipe.template-repository
        template
14

15 16
develop = ${buildout:parts-directory}/erp5.util-repository
          ${buildout:parts-directory}/slapos.cookbook-repository
Rafael Monnerat's avatar
Rafael Monnerat committed
17 18 19 20

[erp5.util-repository]
<= download-source
repository = http://git.erp5.org/repos/erp5.git
21
branch = for_testrunner_1
Rafael Monnerat's avatar
Rafael Monnerat committed
22

23
[slapos.cookbook-repository]
Rafael Monnerat's avatar
Rafael Monnerat committed
24 25 26
<= download-source
repository = http://git.erp5.org/repos/slapos.git
branch = slapos-testing
27

28 29 30 31 32 33
[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  slapos.cookbook

34
[runTestSuite]
Rafael Monnerat's avatar
Rafael Monnerat committed
35
recipe = zc.recipe.egg
36 37

eggs = 
Rafael Monnerat's avatar
Rafael Monnerat committed
38
   erp5.util
39

Rafael Monnerat's avatar
Rafael Monnerat committed
40 41
entry-points =
  runTestSuite=erp5.util.testsuite:runTestSuite
42

Rafael Monnerat's avatar
Rafael Monnerat committed
43 44
scripts = 
  runTestSuite
45

Rafael Monnerat's avatar
Rafael Monnerat committed
46
[download-source]
47
recipe = plone.recipe.command
Rafael Monnerat's avatar
Rafael Monnerat committed
48
location = ${buildout:parts-directory}/${:_buildout_section_name_}
49
stop-on-error = true
Rafael Monnerat's avatar
Rafael Monnerat committed
50 51 52 53 54 55 56 57 58 59 60 61
branch = master
revision =
command = "${git:location}/bin/git" clone --quiet --branch "${:branch}" "${:repository}" "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --hard @{upstream} ; fi

[slapos.core-repository]
<= download-source
repository = http://git.erp5.org/repos/slapos.core.git

[slapos.recipe.template-repository]
<= download-source
repository = http://git.erp5.org/repos/slapos.recipe.template.git
62 63

[template]
Rafael Monnerat's avatar
Rafael Monnerat committed
64
recipe = slapos.recipe.template
65
url = ${:_profile_base_location_}/instance.cfg
66
md5sum = d2a167a6441d5170a027b3771932fe7f 
Rafael Monnerat's avatar
Rafael Monnerat committed
67
output =  ${buildout:directory}/template.cfg
68
mode = 640