Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
Nicolas Wavrant
slapos.toolbox
Commits
83c51a52
Commit
83c51a52
authored
Jan 14, 2020
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! runner: opening Software Release supplies a new one, instead of destroying all data
parent
d2ac0923
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
slapos/runner/utils.py
slapos/runner/utils.py
+5
-1
No files found.
slapos/runner/utils.py
View file @
83c51a52
...
@@ -214,8 +214,12 @@ def supplySoftwareRelease(config, sr_path):
...
@@ -214,8 +214,12 @@ def supplySoftwareRelease(config, sr_path):
updateProxy
(
config
)
updateProxy
(
config
)
slap
=
slapos
.
slap
.
slap
()
slap
=
slapos
.
slap
.
slap
()
slap
.
initializeConnection
(
config
[
'master_url'
])
slap
.
initializeConnection
(
config
[
'master_url'
])
software_release_path
=
os
.
path
.
join
(
realpath
(
config
,
sr_path
),
config
[
'software_profile'
])
logger
.
info
(
'Supplying new Software Release : %s'
%
software_release_path
)
slap
.
registerSupply
().
supply
(
slap
.
registerSupply
().
supply
(
os
.
path
.
join
(
realpath
(
config
,
sr_path
),
config
[
'software_profile'
])
,
software_release_path
,
computer_guid
=
config
[
'computer_id'
],
computer_guid
=
config
[
'computer_id'
],
)
)
# Don't replace .project if there is a running instance
# Don't replace .project if there is a running instance
...
...
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