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
c120f07a
Commit
c120f07a
authored
4 years ago
by
Mohammed Ismail
Browse files
Options
Downloads
Patches
Plain Diff
reviewed and updated based on the MR comments
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
a15fa610
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
+12
-12
12 additions, 12 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/dsTesterDockerCompose/docker-compose.tplt
+15
-1
15 additions, 1 deletion
ci-scripts/dsTesterDockerCompose/docker-compose.tplt
with
27 additions
and
13 deletions
ci-scripts/Jenkinsfile-GitLab-Docker
+
12
−
12
View file @
c120f07a
...
...
@@ -60,14 +60,14 @@ def scmEvent = false
def
upstreamEvent
=
false
// Default tags / branches --> could be passed on by upstream job or by PR content
def
nrfTag
=
'develop'
def
nrfBranch
=
'develop'
def
amfTag
=
'develop'
def
amfBranch
=
'develop'
def
smfTag
=
'develop'
def
smfBranch
=
'develop'
def
spgwuTag
=
'nrf-com'
def
spgwuBranch
=
'master'
def
nrfTag
=
params
.
nrfTag
def
nrfBranch
=
params
.
nrfBranch
def
amfTag
=
params
.
amfTag
def
amfBranch
=
params
.
amfBranch
def
smfTag
=
params
.
smfTag
def
smfBranch
=
params
.
smfBranch
def
spgwuTag
=
params
.
spgwuTag
def
spgwuBranch
=
params
.
spgwuBranch
//-------------------------------------------------------------------------------
// Pipeline start
...
...
@@ -226,9 +226,9 @@ pipeline {
error
"OAI SMF Image tag to test does not exist!"
}
try
{
sh
'echo "OAI_SPGWU_TAG: oai-spgwu:'
+
spgwuTag
+
'" > archives/oai_spgwu_image_info.log'
sh
'docker image inspect --format=\'Size = {{.Size}} bytes\' oai-spgwu:'
+
spgwuTag
+
' >> archives/oai_spgwu_image_info.log'
sh
'docker image inspect --format=\'Date = {{.Created}}\' oai-spgwu:'
+
spgwuTag
+
' >> archives/oai_spgwu_image_info.log'
sh
'echo "OAI_SPGWU_TAG: oai-spgwu
-tiny
:'
+
spgwuTag
+
'" > archives/oai_spgwu_image_info.log'
sh
'docker image inspect --format=\'Size = {{.Size}} bytes\' oai-spgwu
-tiny
:'
+
spgwuTag
+
' >> archives/oai_spgwu_image_info.log'
sh
'docker image inspect --format=\'Date = {{.Created}}\' oai-spgwu
-tiny
:'
+
spgwuTag
+
' >> archives/oai_spgwu_image_info.log'
}
catch
(
Exception
e
)
{
error
"OAI SPGW-U-Tiny Image tag to test does not exist!"
}
...
...
@@ -241,7 +241,7 @@ pipeline {
echo
'\u2705 \u001B[32mDeploy CN5G in idle mode\u001B[0m'
// Prepare all needed files for docker-compose
// First put all correct tags to test
sh
'sed -e "s#NRF_IMAGE_TAG#'
+
nrfTag
+
'#" -e "s#AMF_IMAGE_TAG#'
+
amfTag
+
'#" -e "s#SMF_IMAGE_TAG#'
+
smfTag
+
'#" ci-scripts/dsTesterDockerCompose/docker-compose.tplt > ci-scripts/dsTesterDockerCompose/docker-compose.yml'
sh
'sed -e "s#NRF_IMAGE_TAG#'
+
nrfTag
+
'#" -e "s#AMF_IMAGE_TAG#'
+
amfTag
+
'#" -e "s#SMF_IMAGE_TAG#'
+
smfTag
+
'#"
-e "s#SPGWU_IMAGE_TAG#'
+
spgwuTag
+
'#"
ci-scripts/dsTesterDockerCompose/docker-compose.tplt > ci-scripts/dsTesterDockerCompose/docker-compose.yml'
// Entrypoints are modified to be inactive for dsTester framework
sh
'sed -e "s@exec.*@sleep infinity@" component/oai-nrf/scripts/entrypoint.sh > ci-scripts/dsTesterDockerCompose/nrf-entrypoint-sleep.sh'
sh
'sed -e "s@exec.*@sleep infinity@" component/oai-amf/scripts/entrypoint.sh > ci-scripts/dsTesterDockerCompose/amf-entrypoint-sleep.sh'
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/dsTesterDockerCompose/docker-compose.tplt
+
15
−
1
View file @
c120f07a
...
...
@@ -164,7 +164,7 @@ services:
cicd_oai_upf:
container_name: cicd-oai-upf
image: oai-spgwu
:nrf-com
image: oai-spgwu
-tiny:SPGWU_IMAGE_TAG
ports:
- 2152
- 8805
...
...
@@ -174,8 +174,22 @@ services:
- SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP=eth0
- SGW_INTERFACE_NAME_FOR_SX=eth0
- PGW_INTERFACE_NAME_FOR_SGI=eth0
#- NETWORK_UE_NAT_OPTION=yes
- NETWORK_UE_IP=12.0.0.0/24
#- THREAD_S1U_PRIO=9090
#- S1U_THREADS=16
#- THREAD_SX_PRIO=64
#- SX_THREADS=1
#- THREAD_SGI_PRIO=64
#- SGI_THREADS=16
- SPGWC0_IP_ADDRESS=192.168.61.197
#- BYPASS_UL_PFCP_RULES=no
#- MCC=208
#- MNC=95
#- MNC03=095
#- TAC=40960
#- GW_ID=1
#- REALM=openairinterface.org
- NRF_IPV4_ADDRESS=192.168.61.195
- NRF_PORT=80
- NRF_API_VERSION=v1
...
...
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