Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-fed
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
Thierry Turletti
oai-cn5g-fed
Commits
d737e82d
Commit
d737e82d
authored
4 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Patches
Plain Diff
CI: adding the dsTester script call
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
e9e281a4
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-Docker
+4
-3
4 additions, 3 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/temp/generate_smf_conf.sh
+3
-0
3 additions, 0 deletions
ci-scripts/temp/generate_smf_conf.sh
with
7 additions
and
3 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
+
4
−
3
View file @
d737e82d
...
@@ -96,8 +96,7 @@ pipeline {
...
@@ -96,8 +96,7 @@ pipeline {
echo
"Node is ${NODE_NAME}"
echo
"Node is ${NODE_NAME}"
}
}
if
(
params
.
DS_Tester_Server_Flag
!=
null
)
{
if
(
params
.
DS_Tester_Server_Flag
!=
null
)
{
// Disabling locking of DsTester in development phase of pipeline
dsT_host_flag
=
params
.
DS_Tester_Server_Flag
//dsT_host_flag = params.DS_Tester_Server_Flag
if
(
dsT_host_flag
)
{
if
(
dsT_host_flag
)
{
def
allParametersPresent
=
true
def
allParametersPresent
=
true
if
(
params
.
DS_Tester_Server_Name
==
null
)
{
if
(
params
.
DS_Tester_Server_Name
==
null
)
{
...
@@ -212,7 +211,9 @@ pipeline {
...
@@ -212,7 +211,9 @@ pipeline {
steps
{
steps
{
lock
(
ds_tester_ci_resource
)
{
lock
(
ds_tester_ci_resource
)
{
script
{
script
{
sh
"sleep 10"
myShCmd
(
'cd /home/oaici/CI-dev-ops-cn5g && git clean -x -d -f > /dev/null'
,
new_host_flag
,
new_host_user
,
new_host
)
myShCmdWithLog
(
'cd /home/oaici/CI-dev-ops-cn5g/scripts && CI_ENV=True SRC_BASE_DIR=/tmp/CI-CN5G-FED ./run-5gc.bash -pt --shark --detach --get-results --5g'
,
'archives/run-5g-dstester.log'
,
new_host_flag
,
new_host_user
,
new_host
)
copyFrom2ndServer
(
'DS-TEST-RESULTS/*.tar'
,
'DS-TEST-RESULTS'
,
new_host_flag
,
new_host_user
,
new_host
)
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/temp/generate_smf_conf.sh
+
3
−
0
View file @
d737e82d
...
@@ -14,12 +14,15 @@ SMF_CONF[@SMF_INTERFACE_NAME_FOR_SBI@]='CI_SBI_IF_NAME'
...
@@ -14,12 +14,15 @@ SMF_CONF[@SMF_INTERFACE_NAME_FOR_SBI@]='CI_SBI_IF_NAME'
SMF_CONF[@SMF_INTERFACE_PORT_FOR_SBI@]
=
'80'
SMF_CONF[@SMF_INTERFACE_PORT_FOR_SBI@]
=
'80'
SMF_CONF[@SMF_INTERFACE_HTTP2_PORT_FOR_SBI@]
=
'9090'
SMF_CONF[@SMF_INTERFACE_HTTP2_PORT_FOR_SBI@]
=
'9090'
SMF_CONF[@SMF_API_VERSION@]
=
'v1'
SMF_CONF[@UDM_IPV4_ADDRESS@]
=
'127.0.0.1'
SMF_CONF[@UDM_IPV4_ADDRESS@]
=
'127.0.0.1'
SMF_CONF[@UDM_PORT@]
=
'80'
SMF_CONF[@UDM_PORT@]
=
'80'
SMF_CONF[@UDM_API_VERSION@]
=
'v2'
SMF_CONF[@AMF_IPV4_ADDRESS@]
=
'CI_AMF_IP_ADDR'
SMF_CONF[@AMF_IPV4_ADDRESS@]
=
'CI_AMF_IP_ADDR'
SMF_CONF[@AMF_PORT@]
=
'80'
SMF_CONF[@AMF_PORT@]
=
'80'
SMF_CONF[@AMF_API_VERSION@]
=
'v1'
SMF_CONF[@UPF_IPV4_ADDRESS@]
=
'CI_UPF_IP_ADDR'
SMF_CONF[@UPF_IPV4_ADDRESS@]
=
'CI_UPF_IP_ADDR'
...
...
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