Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
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
OpenXG
openairinterface-6g
Commits
a5689f5b
Commit
a5689f5b
authored
Oct 27, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Remove unused code
parent
f9b4fe6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
23 deletions
+2
-23
ci-scripts/args_parse.py
ci-scripts/args_parse.py
+1
-5
ci-scripts/main.py
ci-scripts/main.py
+1
-18
No files found.
ci-scripts/args_parse.py
View file @
a5689f5b
...
@@ -43,10 +43,6 @@ import constants as CONST
...
@@ -43,10 +43,6 @@ import constants as CONST
def
ArgsParse
(
argvs
,
CiTestObj
,
RAN
,
HTML
,
CONTAINERS
,
HELP
,
SCA
,
CLUSTER
):
def
ArgsParse
(
argvs
,
CiTestObj
,
RAN
,
HTML
,
CONTAINERS
,
HELP
,
SCA
,
CLUSTER
):
py_param_file_present
=
False
py_params
=
{}
force_local
=
False
force_local
=
False
while
len
(
argvs
)
>
1
:
while
len
(
argvs
)
>
1
:
myArgv
=
argvs
.
pop
(
1
)
# 0th is this file's name
myArgv
=
argvs
.
pop
(
1
)
# 0th is this file's name
...
@@ -172,4 +168,4 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,CLUSTER):
...
@@ -172,4 +168,4 @@ def ArgsParse(argvs,CiTestObj,RAN,HTML,CONTAINERS,HELP,SCA,CLUSTER):
HELP
.
GenericHelp
(
CONST
.
Version
)
HELP
.
GenericHelp
(
CONST
.
Version
)
sys
.
exit
(
'Invalid Parameter: '
+
myArgv
)
sys
.
exit
(
'Invalid Parameter: '
+
myArgv
)
return
py_param_file_present
,
py_params
,
mode
,
force_local
return
mode
,
force_local
ci-scripts/main.py
View file @
a5689f5b
...
@@ -85,14 +85,6 @@ def CheckClassValidity(xml_class_list,action,id):
...
@@ -85,14 +85,6 @@ def CheckClassValidity(xml_class_list,action,id):
resp
=
True
resp
=
True
return
resp
return
resp
#assigning parameters to object instance attributes (even if the attributes do not exist !!)
def
AssignParams
(
params_dict
):
for
key
,
value
in
params_dict
.
items
():
setattr
(
CiTestObj
,
key
,
value
)
setattr
(
RAN
,
key
,
value
)
setattr
(
HTML
,
key
,
value
)
def
ExecuteActionWithParam
(
action
,
ctx
):
def
ExecuteActionWithParam
(
action
,
ctx
):
global
RAN
global
RAN
global
HTML
global
HTML
...
@@ -399,16 +391,7 @@ CLUSTER = cls_cluster.Cluster()
...
@@ -399,16 +391,7 @@ CLUSTER = cls_cluster.Cluster()
import
args_parse
import
args_parse
# Force local execution, move all execution targets to localhost
# Force local execution, move all execution targets to localhost
force_local
=
False
force_local
=
False
py_param_file_present
,
py_params
,
mode
,
force_local
=
args_parse
.
ArgsParse
(
sys
.
argv
,
CiTestObj
,
RAN
,
HTML
,
CONTAINERS
,
HELP
,
SCA
,
CLUSTER
)
mode
,
force_local
=
args_parse
.
ArgsParse
(
sys
.
argv
,
CiTestObj
,
RAN
,
HTML
,
CONTAINERS
,
HELP
,
SCA
,
CLUSTER
)
#-----------------------------------------------------------
# TEMPORARY params management (UNUSED)
#-----------------------------------------------------------
#temporary solution for testing:
if
py_param_file_present
==
True
:
AssignParams
(
py_params
)
#-----------------------------------------------------------
#-----------------------------------------------------------
# mode amd XML class (action) analysis
# mode amd XML class (action) analysis
...
...
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