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
lizhongxiao
OpenXG-RAN
Commits
01add24b
Commit
01add24b
authored
Aug 29, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GetParametersFromXML(): simplify forced_workspace_cleanup reading
parent
668d0865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
ci-scripts/main.py
ci-scripts/main.py
+5
-10
No files found.
ci-scripts/main.py
View file @
01add24b
...
...
@@ -106,16 +106,11 @@ def GetParametersFromXML(action):
RAN
.
Build_eNB_args
=
test
.
findtext
(
'Build_eNB_args'
)
CONTAINERS
.
imageKind
=
test
.
findtext
(
'kind'
)
forced_workspace_cleanup
=
test
.
findtext
(
'forced_workspace_cleanup'
)
if
(
forced_workspace_cleanup
is
None
):
RAN
.
Build_eNB_forced_workspace_cleanup
=
False
CONTAINERS
.
forcedWorkspaceCleanup
=
False
else
:
if
re
.
match
(
'true'
,
forced_workspace_cleanup
,
re
.
IGNORECASE
):
RAN
.
Build_eNB_forced_workspace_cleanup
=
True
CONTAINERS
.
forcedWorkspaceCleanup
=
True
else
:
RAN
.
Build_eNB_forced_workspace_cleanup
=
True
CONTAINERS
.
forcedWorkspaceCleanup
=
False
RAN
.
Build_eNB_forced_workspace_cleanup
=
False
CONTAINERS
.
forcedWorkspaceCleanup
=
False
if
forced_workspace_cleanup
is
not
None
and
re
.
match
(
'true'
,
forced_workspace_cleanup
,
re
.
IGNORECASE
):
RAN
.
Build_eNB_forced_workspace_cleanup
=
True
CONTAINERS
.
forcedWorkspaceCleanup
=
True
eNB_instance
=
test
.
findtext
(
'eNB_instance'
)
if
(
eNB_instance
is
None
):
RAN
.
eNB_instance
=
0
...
...
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