Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
spbro
OpenXG-RAN
Commits
5edb3e36
Commit
5edb3e36
authored
Aug 13, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ci platform specific script support in oai-vm-tools
parent
c8870fbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+15
-0
No files found.
ci-scripts/oai-ci-vm-tool
View file @
5edb3e36
...
...
@@ -140,6 +140,19 @@ function command_options_usage {
echo
""
}
# function to set specific behavior depending on the TESTPLATFORM_OWNER variable
# which may be set by a jenkins server for exemple
function
platform_set
{
if
[
"
$TESTPLATFORM_OWNER
"
!=
""
]
then
echo
"Running on
$TESTPLATFORM_OWNER
platform"
if
[
-x
"
${
TESTPLATFORM_OWNER
}
_setenv.sh"
]
then
.
${
TESTPLATFORM_OWNER
}
_setenv.sh
fi
fi
}
function
setvar_usage
{
declare
-A
HELP_VAR
HELP_VAR[
"VM_OSREL"
]=
"OS release to use in virtual machines"
...
...
@@ -315,6 +328,7 @@ function check_setvar {
exit
1
}
platform_set
MY_DIR
=
$(
dirname
$(
readlink
-f
$0
))
.
$MY_DIR
/createVM.sh
.
$MY_DIR
/buildOnVM.sh
...
...
@@ -324,6 +338,7 @@ MY_DIR=$(dirname $(readlink -f $0))
.
$MY_DIR
/reportBuildLocally.sh
.
$MY_DIR
/reportTestLocally.sh
if
[
$#
-lt
1
]
then
echo
"Syntax Error: too few arguments"
...
...
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