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
90c708c1
Commit
90c708c1
authored
5 years ago
by
frtabu
Browse files
Options
Downloads
Patches
Plain Diff
bug fixing in the way customized behavior of CI depending of jenkins server is triggered
parent
bb57c61a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/oai-ci-vm-tool
+5
-4
5 additions, 4 deletions
ci-scripts/oai-ci-vm-tool
with
5 additions
and
4 deletions
ci-scripts/oai-ci-vm-tool
+
5
−
4
View file @
90c708c1
...
...
@@ -146,9 +146,9 @@ function platform_set {
if
[
"
$TESTPLATFORM_OWNER
"
!=
""
]
then
echo
"Running on
$TESTPLATFORM_OWNER
platform"
if
[
-x
"
${
TESTPLATFORM_OWNER
}
_setenv.sh"
]
if
[
-x
"
/usr/local/bin/oai_
${
TESTPLATFORM_OWNER
}
_setenv.sh"
]
then
.
${
TESTPLATFORM_OWNER
}
_setenv.sh
.
/usr/local/bin/oai_
${
TESTPLATFORM_OWNER
}
_setenv.sh
fi
fi
}
...
...
@@ -157,7 +157,8 @@ function setvar_usage {
declare
-A
HELP_VAR
HELP_VAR[
"VM_OSREL"
]=
"OS release to use in virtual machines"
HELP_VAR[
"RUN_EXPERIMENTAL"
]=
"Enforce execution of variants with EXPERIMENTAL variable set to
\"
true
\"
"
HELP_VAR[
"OPTIONAL_APTCACHER"
]=
"build and Run tests will fail if apt-cacher not installed and this variable not set to
\"
true
\"
"
HELP_VAR[
"OPTIONAL_APTCACHER"
]=
"build and Run tests will fail if apt-cacher not installed and this variable not set to
\"
true
\"
"
HELP_VAR[
"TESTPLATFORM_OWNER"
]=
"Allow pipeline customization via execution of an externel scripts residing on the jenkins server"
echo
"--setvar_<varname> <value> where varname is one of:"
for
i
in
${
AUTHORIZED_VAR
[@]
}
;
do
printf
"%20s : %s
\n
"
"
$i
"
"
${
HELP_VAR
[
$i
]
}
"
;
done
}
...
...
@@ -456,7 +457,7 @@ RUN_OPTIONS="none"
# list of variables that can be set via the --setvar option
AUTHORIZED_VAR=("
VM_OSREL
RUN_EXPERIMENTAL OPTIONAL_APTCACHER
")
AUTHORIZED_VAR=("
VM_OSREL
RUN_EXPERIMENTAL OPTIONAL_APTCACHER
TESTPLATFORM_OWNER
")
#variables to set which OS VM should use
...
...
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