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
Kazuhiko Shiozaki
slapos.toolbox
Commits
59598125
Commit
59598125
authored
Sep 01, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: cleaned imports
parent
e1233d77
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
+3
-8
slapos/runner/runnertest.py
slapos/runner/runnertest.py
+1
-2
slapos/runner/sup_process.py
slapos/runner/sup_process.py
+0
-2
slapos/runner/utils.py
slapos/runner/utils.py
+1
-2
slapos/runner/views.py
slapos/runner/views.py
+1
-2
No files found.
slapos/runner/runnertest.py
View file @
59598125
...
@@ -21,13 +21,12 @@ import sup_process
...
@@ -21,13 +21,12 @@ import sup_process
import
time
import
time
import
unittest
import
unittest
from
slapos.runner.utils
import
(
getProfilePath
,
getRcode
,
from
slapos.runner.utils
import
(
getProfilePath
,
getSession
,
isInstanceRunning
,
getSession
,
isInstanceRunning
,
isSoftwareRunning
,
startProxy
,
isSoftwareRunning
,
startProxy
,
isSoftwareReleaseReady
,
isSoftwareReleaseReady
,
runSlapgridUntilSuccess
,
runSlapgridUntilSuccess
,
getBuildAndRunParams
,
saveBuildAndRunParams
)
getBuildAndRunParams
,
saveBuildAndRunParams
)
from
slapos.runner.process
import
killRunningProcess
,
isRunning
from
slapos.runner
import
views
from
slapos.runner
import
views
import
slapos.slap
import
slapos.slap
from
slapos.htpasswd
import
HtpasswdFile
from
slapos.htpasswd
import
HtpasswdFile
...
...
slapos/runner/sup_process.py
View file @
59598125
...
@@ -3,8 +3,6 @@ import signal
...
@@ -3,8 +3,6 @@ import signal
import
time
import
time
import
xmlrpclib
import
xmlrpclib
from
supervisor
import
childutils
# This mini-library is used to communicate with supervisord process
# This mini-library is used to communicate with supervisord process
# It aims to replace the file "process.py"
# It aims to replace the file "process.py"
# For the moment, we keep both for compatibility
# For the moment, we keep both for compatibility
...
...
slapos/runner/utils.py
View file @
59598125
...
@@ -7,7 +7,6 @@ import datetime
...
@@ -7,7 +7,6 @@ import datetime
import
json
import
json
import
logging
import
logging
import
md5
import
md5
import
multiprocessing
import
os
import
os
import
sup_process
import
sup_process
import
re
import
re
...
@@ -23,7 +22,7 @@ from flask import jsonify
...
@@ -23,7 +22,7 @@ from flask import jsonify
from
slapos.runner.gittools
import
cloneRepo
from
slapos.runner.gittools
import
cloneRepo
from
slapos.runner.process
import
Popen
,
isRunning
,
killRunningProcess
,
isPidFileProcessRunning
from
slapos.runner.process
import
Popen
from
slapos.htpasswd
import
HtpasswdFile
from
slapos.htpasswd
import
HtpasswdFile
import
slapos.slap
import
slapos.slap
from
slapos.grid.utils
import
md5digest
from
slapos.grid.utils
import
md5digest
...
...
slapos/runner/views.py
View file @
59598125
...
@@ -25,8 +25,7 @@ from slapos.runner.utils import (checkSoftwareFolder, configNewSR,
...
@@ -25,8 +25,7 @@ from slapos.runner.utils import (checkSoftwareFolder, configNewSR,
loadSoftwareRList
,
md5sum
,
newSoftware
,
loadSoftwareRList
,
md5sum
,
newSoftware
,
readFileFrom
,
readParameters
,
realpath
,
readFileFrom
,
readParameters
,
realpath
,
removeInstanceRoot
,
removeProxyDb
,
removeInstanceRoot
,
removeProxyDb
,
removeSoftwareByName
,
runInstanceWithLock
,
removeSoftwareByName
,
runSlapgridUntilSuccess
,
runSoftwareWithLock
,
runSlapgridUntilSuccess
,
saveSession
,
saveBuildAndRunParams
,
saveSession
,
saveBuildAndRunParams
,
setMiniShellHistory
,
setMiniShellHistory
,
svcStartStopProcess
,
svcStopAll
,
tail
,
svcStartStopProcess
,
svcStopAll
,
tail
,
...
...
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