Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Ophélie Gagnard
slapos.core
Commits
be4b0991
Commit
be4b0991
authored
Jun 06, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add XXXs
parent
ec28d899
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+4
-0
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+1
-0
No files found.
slapos/grid/SlapObject.py
View file @
be4b0991
...
...
@@ -57,6 +57,8 @@ REQUIRED_COMPUTER_PARTITION_PERMISSION = 0o750
class
Software
(
object
):
"""This class is responsible for installing a software release"""
# XXX: "url" parameter should be named "key", "target" or alike to be more generic.
# The key is an url in the case of Buildout.
def
__init__
(
self
,
url
,
software_root
,
buildout
,
logger
,
signature_private_key_file
=
None
,
signature_certificate_list
=
None
,
upload_cache_url
=
None
,
upload_dir_url
=
None
,
shacache_cert_file
=
None
,
...
...
@@ -254,6 +256,8 @@ class Partition(object):
"""This class is responsible of the installation of an instance
"""
# XXX: we should give the url (or the "key") instead of the software_path
# then compute the path from it, like in Software.
def
__init__
(
self
,
software_path
,
instance_path
,
...
...
slapos/grid/slapgrid.py
View file @
be4b0991
...
...
@@ -79,6 +79,7 @@ class _formatXMLError(Exception):
def
check_missing_parameters
(
options
):
required
=
set
([
'computer_id'
,
# XXX: instance_root is better named "partition_root"
'instance_root'
,
'master_url'
,
'software_root'
,
...
...
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