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
Michael Black
OpenXG-RAN
Commits
2f28b579
Commit
2f28b579
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collect cluster pod metrics during build
parent
a3aead9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ci-scripts/cls_cluster.py
ci-scripts/cls_cluster.py
+2
-0
No files found.
ci-scripts/cls_cluster.py
View file @
2f28b579
...
...
@@ -291,6 +291,7 @@ class Cluster:
status
=
status
and
wait
mySSH
.
command
(
f'oc logs
{
ranbuild_job
}
> cmake_targets/log/ran-build.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
physim_job
}
> cmake_targets/log/oai-physim.log'
,
'\$'
,
10
)
mySSH
.
command
(
'oc get pods.metrics.k8s.io > cmake_targets/log/build-metrics.log'
,
'\$'
,
10
)
if
status
:
self
.
_recreate_is_tag
(
mySSH
,
'oai-enb'
,
imageTag
,
'openshift/oai-enb-is.yaml'
)
...
...
@@ -342,6 +343,7 @@ class Cluster:
# recover logs
mySSH
.
command
(
f'oc logs
{
lteue_job
}
> cmake_targets/log/oai-lte-ue.log'
,
'\$'
,
10
)
mySSH
.
command
(
f'oc logs
{
nrue_job
}
> cmake_targets/log/oai-nr-ue.log'
,
'\$'
,
10
)
mySSH
.
command
(
'oc get pods.metrics.k8s.io >> cmake_targets/log/build-metrics.log'
,
'\$'
,
10
)
# split and analyze logs
imageSize
=
{}
...
...
This diff is collapsed.
Click to expand it.
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