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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
5cc026a4
Commit
5cc026a4
authored
Jan 17, 2025
by
Sagar Arora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define image name via helm set parameter
Signed-off-by:
Sagar Arora
<
sagar.arora@openairinterface.org
>
parent
a3379621
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+1
-3
No files found.
ci-scripts/cls_physim1.py
View file @
5cc026a4
...
...
@@ -137,9 +137,7 @@ class PhySim:
logging
.
debug
(
f'
\u001B
[1m Now using project
{
ocProjectName
}
\u001B
[0m'
)
# Using helm charts deployment
mySSH
.
command
(
f'grep -rl OAICICD_PROJECT ./charts/ | xargs sed -i -e "s#OAICICD_PROJECT#
{
ocProjectName
}
#"'
,
'\$'
,
30
)
mySSH
.
command
(
f'sed -i -e "s#TAG#
{
imageTag
}
#g" ./charts/physims/values.yaml'
,
'\$'
,
6
)
mySSH
.
command
(
'helm install physim ./charts/physims/ --wait 2>&1 | tee -a cmake_targets/log/physim_helm_summary.txt'
,
'\$'
,
30
)
mySSH
.
command
(
f'helm install physim ./charts/physims/ --set global.image.version=
{
imageTag
}
--wait 2>&1 | tee -a cmake_targets/log/physim_helm_summary.txt'
,
'\$'
,
30
)
if
mySSH
.
getBefore
().
count
(
'STATUS: deployed'
)
==
0
:
logging
.
error
(
'
\u001B
[1m Deploying PhySim Failed using helm chart on OC Cluster
\u001B
[0m'
)
mySSH
.
command
(
'helm uninstall physim | tee -a cmake_targets/log/physim_helm_summary.txt 2>&1'
,
'\$'
,
30
)
...
...
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