Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos
Commits
a1e0d3c4
Commit
a1e0d3c4
authored
Feb 15, 2013
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use empty URL_BASE (BOINC)
parent
89d3c7a4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
slapos/recipe/boinc/__init__.py
slapos/recipe/boinc/__init__.py
+5
-1
slapos/recipe/bonjourgrid/__init__.py
slapos/recipe/bonjourgrid/__init__.py
+2
-0
stack/boinc/buildout.cfg
stack/boinc/buildout.cfg
+1
-1
No files found.
slapos/recipe/boinc/__init__.py
View file @
a1e0d3c4
...
...
@@ -101,6 +101,10 @@ class Recipe(GenericBaseRecipe):
niceprojectname
=
self
.
project
+
"@Home"
slapuser
=
self
.
options
[
'user'
]
#Check if given URL is not empty (case of URL request with frontend)
if
not
self
.
url_base
:
raise
Exception
(
"URL_BASE is still empty. Can not use it"
)
#Define environment variable here
python
=
os
.
path
.
join
(
self
.
home
,
'bin/python'
)
python_path
=
self
.
boinc_egg
...
...
slapos/recipe/bonjourgrid/__init__.py
View file @
a1e0d3c4
...
...
@@ -102,6 +102,8 @@ class Recipe(GenericBaseRecipe):
os
.
chmod
(
config_info_file
,
0744
)
path_list
.
append
(
config_info
)
update
=
install
class
Client
(
GenericBaseRecipe
):
def
install
(
self
):
...
...
stack/boinc/buildout.cfg
View file @
a1e0d3c4
...
...
@@ -34,7 +34,7 @@ eggs =
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
md5sum =
004691e9194eca2fa9cb1033094d3738
md5sum =
20e9e2276e3cbc6504bf065eabbe13a7
mode = 0644
#Template for deploying MySQL Database Server
...
...
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