Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
6c7ca2c7
Commit
6c7ca2c7
authored
Sep 06, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow Boinc Software to deploy many boinc-app at same time
parent
a72cae48
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
136 additions
and
8 deletions
+136
-8
software/boinc/boinc-app.cfg
software/boinc/boinc-app.cfg
+39
-0
software/boinc/input/input_file
software/boinc/input/input_file
+1
-0
software/boinc/instance.cfg
software/boinc/instance.cfg
+12
-0
software/boinc/software.cfg
software/boinc/software.cfg
+61
-8
software/boinc/templates/template_result
software/boinc/templates/template_result
+13
-0
software/boinc/templates/template_wu
software/boinc/templates/template_wu
+10
-0
No files found.
software/boinc/boinc-app.cfg
0 → 100644
View file @
6c7ca2c7
[buildout]
parts =
boinc-server
certificate-authority
ca-stunnel
logrotate
logrotate-entry-apache
logrotate-entry-stunnel
cron
cron-entry-logrotate
cron-entry-boinc
promise
slapmonitor
slapreport
frontend-promise
publish-connection-informations
boinc-app
extends = ${template-boinc:output}
#Deploy a Boinc application in existing boinc server instance. do the same thing for another boinc app instance
[boinc-app]
<= boinc-server
recipe = slapos.cookbook:boinc.app
binary = ${boinc-application:location}/${boinc-application:filename}
#app-name should be unique (for all app deployed an boinc instance)
app-name = ${boinc-application:app-name}
version = ${boinc-application:version}
platform = ${boinc-application:platform}
extension = ${boinc-application:exec-extension}
dash = ${dash:location}/bin/dash
#templates
template-result = ${template_result:location}/${template_result:filename}
template-wu = ${template_wu:location}/${template_wu:filename}
#Work Unit
wu-name = ${boinc-application:wu-name}
wu-number = ${boinc-application:wu-number}
input-file = ${template_input:location}/${template_input:filename}
software/boinc/input/input_file
0 → 100644
View file @
6c7ca2c7
test string
\ No newline at end of file
software/boinc/instance.cfg
0 → 100644
View file @
6c7ca2c7
[buildout]
parts =
switch_softwaretype
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${boinc-instance:output}
mariadb = ${template-mariadb:output}
\ No newline at end of file
software/boinc/software.cfg
View file @
6c7ca2c7
[buildout]
[buildout]
part =
parts =
boinc-configuration
boinc-instance
template
boinc-application
template_wu
template_result
template_input
slapos-cookbook
instance-egg
extends =
extends =
../../stack/boinc/buildout.cfg
../../stack/boinc/buildout.cfg
...
@@ -9,9 +16,55 @@ extends =
...
@@ -9,9 +16,55 @@ extends =
develop =
develop =
/srv/slapgrid/slappart19/srv//runner/project/slapos.github
/srv/slapgrid/slappart19/srv//runner/project/slapos.github
#default Configuration for boinc project
#Generate All instances templates
[boinc-configuration]
[boinc-instance]
recipe = plone.recipe.command
recipe = slapos.recipe.template
command = echo "this part is not ready..."
url = ${:_profile_base_location_}/boinc-app.cfg
dbname = boinctest
output = ${buildout:directory}/template-app.cfg
project = boinc_test
mode = 0644
\ No newline at end of file
md5sum = ecec6192ac5b361e326cb2f1bd5f97dc
[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
version = 1.0
exec-extension =
#Please read Boinc platform before update platform value: http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
platform = x86_64-pc-linux-gnu
#Work Unit: wu-name without blanc space: wu-number number of work unit
wu-name = simpletest
wu-number = 1
[template_result]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/template_result
download-only = true
filename = template_result
#md5sum =
[template_wu]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/template_wu
download-only = true
filename = template_wu
#md5sum =
[template_input]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/input/input_file
download-only = true
filename = input_file
#md5sum =
software/boinc/templates/template_result
0 → 100644
View file @
6c7ca2c7
<file_info>
<name><OUTFILE_0/></name>
<generated_locally/>
<upload_when_present/>
<max_nbytes>5000000</max_nbytes>
<url><UPLOAD_URL/></url>
</file_info>
<result>
<file_ref>
<file_name><OUTFILE_0/></file_name>
<open_name>out</open_name>
</file_ref>
</result>
\ No newline at end of file
software/boinc/templates/template_wu
0 → 100644
View file @
6c7ca2c7
<file_info>
<number>0</number>
</file_info>
<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>in</open_name>
</file_ref>
<command_line>-cpu_time 10</command_line>
</workunit>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment