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
98f06c59
Commit
98f06c59
authored
Apr 14, 2023
by
Jaroslava Fiedlerova
Committed by
Robert Schmidt
Apr 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes in cls_containerize.py
parent
5c426db6
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 @
98f06c59
...
@@ -383,7 +383,7 @@ class Containerize():
...
@@ -383,7 +383,7 @@ class Containerize():
CreateWorkspace
(
cmd
,
lSourcePath
,
self
.
ranRepository
,
self
.
ranCommitID
,
self
.
ranTargetBranch
,
self
.
ranAllowMerge
)
CreateWorkspace
(
cmd
,
lSourcePath
,
self
.
ranRepository
,
self
.
ranCommitID
,
self
.
ranTargetBranch
,
self
.
ranAllowMerge
)
# if asterix, copy the entitlement and subscription manager configurations
# if asterix, copy the entitlement and subscription manager configurations
if
self
.
host
==
'Red Hat'
:
if
self
.
host
==
'Red Hat'
:
cmd
.
run
(
'mkdir -p ./etc-pki-entitlement ./rhsm-conf ./rhsm-ca'
)
cmd
.
run
(
'mkdir -p ./etc-pki-entitlement ./rhsm-conf ./rhsm-ca'
)
cmd
.
run
(
'cp /etc/rhsm/rhsm.conf ./rhsm-conf/'
)
cmd
.
run
(
'cp /etc/rhsm/rhsm.conf ./rhsm-conf/'
)
...
@@ -981,7 +981,7 @@ class Containerize():
...
@@ -981,7 +981,7 @@ class Containerize():
for
s
in
allServices
:
for
s
in
allServices
:
mySSH
.
command
(
f'docker-compose -f ci-docker-compose.yml ps --all --
{
s
}
'
,
'\$'
,
5
,
silent
=
False
)
mySSH
.
command
(
f'docker-compose -f ci-docker-compose.yml ps --all --
{
s
}
'
,
'\$'
,
5
,
silent
=
False
)
running
=
mySSH
.
getBefore
().
split
(
'
\r\n
'
)[
2
:
-
1
]
running
=
mySSH
.
getBefore
().
split
(
'
\r\n
'
)[
2
:
-
1
]
#
logging.debug(f'running services: {running}')
logging
.
debug
(
f'running services:
{
running
}
'
)
if
len
(
running
)
>
0
:
# something is running for that service
if
len
(
running
)
>
0
:
# something is running for that service
services
.
append
(
s
)
services
.
append
(
s
)
logging
.
info
(
f'stopping services
{
services
}
'
)
logging
.
info
(
f'stopping services
{
services
}
'
)
...
...
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