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