software.cfg 1.63 KB
Newer Older
1
[buildout]
Alain Takoudjou's avatar
Alain Takoudjou committed
2 3 4
# Local development - to be remove
develop =
  ${:parts-directory}/slapos.cookbook-repository
5 6 7 8 9

parts=
  slapos-cookbook
  boinc
  template
10
  template-boinc
Alain Takoudjou's avatar
Alain Takoudjou committed
11 12
  slapos.cookbook-repository
  check-recipe
13 14 15 16 17 18 19 20 21

extends =
  ../../component/boinc-client/buildout.cfg
  ../../stack/slapos.cfg

[template]
# Default template for boinc-client instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
22
md5sum = 79f4d781c1b385d2afa75ae4077c5381
23 24 25
output = ${buildout:directory}/template.cfg
mode = 0644

26 27 28 29 30 31 32
[template-boinc]
# Default template for boinc-client instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
md5sum = 147fd101d507c4f8eba9694e25571d4e
output = ${buildout:directory}/template-boinc.cfg
mode = 0644
33

Alain Takoudjou's avatar
Alain Takoudjou committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = grid-computing
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${: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 --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

50 51
[versions]
lxml = 2.3.6