software.cfg 1.85 KB
[buildout]

parts = 
  template
  application
  template_wu
  template_result
  template_input
  slapos-cookbook
  instance-egg

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

#Generate All instances templates

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

#Download Boinc Application Binary and configure project
[application]
recipe = hexagonit.recipe.download
ignore-existing = true
url = ${boinc:location}/libexec/examples/upper_case
download-only = true
filename = upper_case
#Application configuration
app-name = upper_case
version = 1.00

[template-base]
recipe = slapos.recipe.build:download
download-only = true
mode = 0644

[template_result]
<= template-base
url = ${:_profile_base_location_}/templates/template_result
filename = template_result
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = a3f0e9fd559cadcb2f297b952f8face8

[template_wu]
<= template-base
url = ${:_profile_base_location_}/templates/template_wu
filename = template_wu
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = 66d7ec85ce15e65d2858c11b75fb9574

[template_input]
<= template-base
url = ${:_profile_base_location_}/input/input_file
filename = input_file
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = 6f8db599de986fab7a21625b7916589c

[boinc-application]
app-list = {"${application:app-name}":{"${application:version}":{"use_default":true, "wu-number":2, "input-file":"${template_input:location}/${template_input:filename}", "binary":"${application:location}/${application:filename}"}}}

[boinc-default]
template-result = ${template_result:location}/${template_result:filename}
template-wu = ${template_wu:location}/${template_wu:filename}
platform = x86_64-pc-linux-gnu
extension =