Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shweta Shrivastava
openairinterface5G
Commits
795f25bb
Commit
795f25bb
authored
Mar 02, 2020
by
Raphael Defosseux
Browse files
CI: new new method to run simulated HSS
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
acced8fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci-scripts/main.py
View file @
795f25bb
...
...
@@ -674,7 +674,8 @@ class SSHConnection():
self
.
command
(
'mkdir -p '
+
self
.
EPCSourceCodePath
+
'/scripts'
,
'\$'
,
5
)
self
.
command
(
'cd /opt/hss_sim0609'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
EPCPassword
+
' | sudo -S rm -f hss.log daemon.log'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
EPCPassword
+
' | sudo -S echo "Starting sudo session" && sudo daemon --unsafe --name=simulated_hss --chdir=/opt/hss_sim0609 ./starthss_real '
,
'\$'
,
5
)
# based on Robert's feedback, new method to run simulated HSS
self
.
command
(
'sudo su -c "cd /opt/hss_sim0609 && screen -dm -S simulated_hss ./starthss_real"'
,
'\$'
,
5
)
else
:
logging
.
error
(
'This option should not occur!'
)
self
.
close
()
...
...
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