Update boins Sr sample
[slapos.git] / software / boinc / software.cfg
1 [buildout]
2
3 parts = 
4   boinc-instance
5   template
6   boinc-application
7   template_wu
8   template_result
9   template_input
10   slapos-cookbook
11   instance-egg
12   slapos.cookbook-repository
13   check-recipe
14
15 extends =
16   ../../stack/boinc/buildout.cfg
17
18 #Generate All instances templates
19 [boinc-instance]
20 recipe = slapos.recipe.template
21 url = ${:_profile_base_location_}/boinc-app.cfg
22 output = ${buildout:directory}/template-app.cfg
23 mode = 0644
24 md5sum = ecec6192ac5b361e326cb2f1bd5f97dc
25
26 [template]
27 recipe = slapos.recipe.template
28 url = ${:_profile_base_location_}/instance.cfg
29 output = ${buildout:directory}/template.cfg
30 mode = 0644
31 md5sum = d097ddeeee5d89881d097efe6165caf6
32
33 #Download Boinc Application Binary and configure project
34 [boinc-application]
35 recipe = hexagonit.recipe.download
36 url = ${boinc:location}/libexec/examples/upper_case
37 download-only = true
38 filename = upper_case
39 #Application configuration
40 app-name = upper_case
41 version = 1.0
42 exec-extension = 
43 #Please read Boinc platform before update platform value: http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
44 platform = x86_64-pc-linux-gnu
45 #Work Unit: wu-name without blanc space: wu-number number of work unit
46 wu-name = simpletest
47 wu-number = 1
48
49 [template-base]
50 recipe = slapos.recipe.download
51 download-only = true
52 mode = 0644
53
54 [template_result]
55 <= template-base
56 url = ${:_profile_base_location_}/templates/template_result
57 filename = template_result
58 location = ${buildout:parts-directory}/${:_buildout_section_name_}
59 #md5sum = 
60
61 [template_wu]
62 <= template-base
63 url = ${:_profile_base_location_}/templates/template_wu
64 filename = template_wu
65 location = ${buildout:parts-directory}/${:_buildout_section_name_}
66 #md5sum = 
67
68 [template_input]
69 <= template-base
70 url = ${:_profile_base_location_}/input/input_file
71 filename = input_file
72 location = ${buildout:parts-directory}/${:_buildout_section_name_}
73 #md5sum =