Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
16314f04
Commit
16314f04
authored
6 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix EPC IP address retrieve and zip of test-files
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
d5702416
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci-scripts/Jenkinsfile-gitlab
+1
-1
1 addition, 1 deletion
ci-scripts/Jenkinsfile-gitlab
ci-scripts/runTestOnVM.sh
+6
-0
6 additions, 0 deletions
ci-scripts/runTestOnVM.sh
with
7 additions
and
1 deletion
ci-scripts/Jenkinsfile-gitlab
+
1
−
1
View file @
16314f04
...
...
@@ -319,7 +319,7 @@ pipeline {
always
{
script
{
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'
))
{
archiveArtifacts
artifacts:
'archives/vm_tests_logs.zip'
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/runTestOnVM.sh
+
6
−
0
View file @
16314f04
...
...
@@ -421,6 +421,10 @@ then
echo
"############################################################"
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
< /opt/ltebox-archives/adapt_ue_sim.txt
fi
# for the moment, just a plain sleep
# TODO: more sophiscated way to detect EPC is started
sleep
5
fi
# HERE ADD any install actions for another EPC
...
...
@@ -469,6 +473,8 @@ then
ssh
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
<
$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
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
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment