Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
d0eb7b9d
Commit
d0eb7b9d
authored
Aug 29, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fix EPC IP address retrieve and zip of test-files
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
4802cab6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ci-scripts/Jenkinsfile-gitlab
ci-scripts/Jenkinsfile-gitlab
+1
-1
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+6
-0
No files found.
ci-scripts/Jenkinsfile-gitlab
View file @
d0eb7b9d
...
@@ -319,7 +319,7 @@ pipeline {
...
@@ -319,7 +319,7 @@ pipeline {
always
{
always
{
script
{
script
{
dir
(
'archives'
)
{
dir
(
'archives'
)
{
sh
"if [ -d
*/test
]; then zip -r -qq vm_tests_logs.zip */test ; fi"
sh
"if [ -d
basic_sim/test ] || [ -d phy_sim/test
]; then zip -r -qq vm_tests_logs.zip */test ; fi"
}
}
if
(
fileExists
(
'archives/vm_tests_logs.zip'
))
{
if
(
fileExists
(
'archives/vm_tests_logs.zip'
))
{
archiveArtifacts
artifacts:
'archives/vm_tests_logs.zip'
archiveArtifacts
artifacts:
'archives/vm_tests_logs.zip'
...
...
ci-scripts/runTestOnVM.sh
View file @
d0eb7b9d
...
@@ -421,6 +421,10 @@ then
...
@@ -421,6 +421,10 @@ then
echo
"############################################################"
echo
"############################################################"
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
< /opt/ltebox-archives/adapt_ue_sim.txt
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
< /opt/ltebox-archives/adapt_ue_sim.txt
fi
fi
# for the moment, just a plain sleep
# TODO: more sophiscated way to detect EPC is started
sleep
5
fi
fi
# HERE ADD any install actions for another EPC
# HERE ADD any install actions for another EPC
...
@@ -469,6 +473,8 @@ then
...
@@ -469,6 +473,8 @@ then
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
rm
$VM_CMDS
rm
$VM_CMDS
# for the moment, just a plain sleep
# TODO: more sophiscated way to detect eNB is started and that UE is connected
sleep
10
sleep
10
echo
"ifconfig oip1 | egrep
\"
inet addr
\"
| sed -e 's#^.*inet addr:##' -e 's# P-t-P:.*
\$
##'"
>
$VM_CMDS
echo
"ifconfig oip1 | egrep
\"
inet addr
\"
| sed -e 's#^.*inet addr:##' -e 's# P-t-P:.*
\$
##'"
>
$VM_CMDS
UE_IP_ADDR
=
`
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
`
UE_IP_ADDR
=
`
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$VM_CMDS
`
...
...
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