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
cf870d7a
Commit
cf870d7a
authored
Nov 15, 2024
by
Raphael Defosseux
Committed by
Robert Schmidt
Nov 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Make output for .env test less verbose
parent
a80c17cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+2
-2
No files found.
ci-scripts/cls_containerize.py
View file @
cf870d7a
...
...
@@ -167,7 +167,7 @@ def GetContainerHealth(ssh, containerName):
return
False
def
ExistEnvFilePrint
(
ssh
,
wd
,
prompt
=
'env vars in existing'
):
ret
=
ssh
.
run
(
f'cat
{
wd
}
/.env'
,
silent
=
True
)
ret
=
ssh
.
run
(
f'cat
{
wd
}
/.env'
,
silent
=
True
,
reportNonZero
=
False
)
if
ret
.
returncode
!=
0
:
return
False
env_vars
=
ret
.
stdout
.
strip
().
splitlines
()
...
...
@@ -175,7 +175,7 @@ def ExistEnvFilePrint(ssh, wd, prompt='env vars in existing'):
return
True
def
WriteEnvFile
(
ssh
,
services
,
wd
,
tag
):
ret
=
ssh
.
run
(
f'cat
{
wd
}
/.env'
,
silent
=
True
)
ret
=
ssh
.
run
(
f'cat
{
wd
}
/.env'
,
silent
=
True
,
reportNonZero
=
False
)
registry
=
"oai-ci"
# pull_images() gives us this registry path
envs
=
{
"REGISTRY"
:
registry
,
"TAG"
:
tag
}
if
ret
.
returncode
==
0
:
# it exists, we have to update
...
...
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