software.cfg 1.76 KB
Newer Older
1 2
[buildout]

3 4 5 6 7 8 9 10 11
parts = 
  boinc-instance
  template
  boinc-application
  template_wu
  template_result
  template_input
  slapos-cookbook
  instance-egg
12 13
  slapos.cookbook-repository
  check-recipe
14 15 16 17

extends =
  ../../stack/boinc/buildout.cfg

18 19 20 21 22 23
#Generate All instances templates
[boinc-instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/boinc-app.cfg
output = ${buildout:directory}/template-app.cfg
mode = 0644
24
md5sum = ab01f101cc6280ef07ea61a22a1432d0
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = d097ddeeee5d89881d097efe6165caf6

#Download Boinc Application Binary and configure project
[boinc-application]
recipe = hexagonit.recipe.download
url = ${boinc:location}/libexec/examples/upper_case
download-only = true
filename = upper_case
#Application configuration
app-name = upper_case
41
version = 1.00
42 43 44
exec-extension = 
#Please read Boinc platform before update platform value: http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
platform = x86_64-pc-linux-gnu
45 46
#Work Unit number number of work unit
wu-number = 4
47

48
[template-base]
49
recipe = slapos.recipe.download
50
download-only = true
51
mode = 0644
52 53 54 55

[template_result]
<= template-base
url = ${:_profile_base_location_}/templates/template_result
56
filename = template_result
57
location = ${buildout:parts-directory}/${:_buildout_section_name_}
58 59 60
#md5sum = 

[template_wu]
61
<= template-base
62 63
url = ${:_profile_base_location_}/templates/template_wu
filename = template_wu
64
location = ${buildout:parts-directory}/${:_buildout_section_name_}
65 66 67
#md5sum = 

[template_input]
68
<= template-base
69 70
url = ${:_profile_base_location_}/input/input_file
filename = input_file
71
location = ${buildout:parts-directory}/${:_buildout_section_name_}
72
#md5sum =