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
spbro
OpenXG-RAN
Commits
ffc4bd01
Commit
ffc4bd01
authored
Jun 05, 2024
by
Bipin Adhikari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp commit before rebase
parent
153c0d6f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+3
-3
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-5
ci-scripts/xml_files/cluster_image_build.xml
ci-scripts/xml_files/cluster_image_build.xml
+5
-2
ci-scripts/xml_files/container_image_build_cross.xml
ci-scripts/xml_files/container_image_build_cross.xml
+2
-2
No files found.
ci-scripts/cls_cluster.py
View file @
ffc4bd01
...
...
@@ -303,10 +303,10 @@ class Cluster:
self
.
testCase_id
=
HTML
.
testCase_id
# Workaround for some servers, we need to erase completely the workspace
if
self
.
forcedWorkspaceCleanup
:
self
.
cmd
.
run
(
f'rm -Rf
{
lSourcePath
}
'
)
#
if self.forcedWorkspaceCleanup:
#
self.cmd.run(f'rm -Rf {lSourcePath}')
cls_containerize
.
CreateWorkspace
(
self
.
cmd
,
lSourcePath
,
self
.
ranRepository
,
self
.
ranCommitID
,
self
.
ranTargetBranch
,
self
.
ranAllowMerge
)
self
.
cmd
.
cd
(
lSourcePath
)
# to reduce the amount of data send to OpenShift, we
# manually delete all generated files in the workspace
self
.
cmd
.
run
(
f'rm -rf
{
lSourcePath
}
/cmake_targets/ran_build'
);
...
...
ci-scripts/cls_containerize.py
View file @
ffc4bd01
...
...
@@ -325,14 +325,10 @@ class Containerize():
if
result
is
not
None
:
self
.
dockerfileprefix
=
'.ubuntu20.cross-arm64'
# Workaround for some servers, we need to erase completely the workspace
if
self
.
forcedWorkspaceCleanup
:
cmd
.
run
(
f'sudo -S rm -Rf
{
lSourcePath
}
'
)
self
.
testCase_id
=
HTML
.
testCase_id
CreateWorkspace
(
cmd
,
lSourcePath
,
self
.
ranRepository
,
self
.
ranCommitID
,
self
.
ranTargetBranch
,
self
.
ranAllowMerge
)
cmd
.
cd
(
lSourcePath
)
# if asterix, copy the entitlement and subscription manager configurations
if
self
.
host
==
'Red Hat'
:
cmd
.
run
(
'mkdir -p ./etc-pki-entitlement ./rhsm-conf ./rhsm-ca'
)
...
...
ci-scripts/xml_files/cluster_image_build.xml
View file @
ffc4bd01
...
...
@@ -24,9 +24,12 @@
<htmlTabRef>
build-tab
</htmlTabRef>
<htmlTabName>
Build Images on Cluster
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
000001
</TestCaseRequestedList>
<TestCaseRequestedList>
000002
000001
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"
800813
"
>
<testCase
id=
"
000002
"
>
<class>
Create_Workspace
</class>
<desc>
Creating new Workspace
</desc>
</testCase>
...
...
ci-scripts/xml_files/container_image_build_cross.xml
View file @
ffc4bd01
...
...
@@ -25,11 +25,11 @@
<htmlTabName>
Build Container Images
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
000002
100001
000001
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"
000002
"
>
<testCase
id=
"
100001
"
>
<class>
Create_Workspace
</class>
<desc>
Creating new Workspace
</desc>
<eNB_instance>
0
</eNB_instance>
...
...
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