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
zzha zzha
OpenXG-RAN
Commits
c54cf49f
Commit
c54cf49f
authored
Dec 22, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: stop containers more quickly
- avoid wasting time - might prevent excess HARQ retx messing up the logs
parent
cfe698eb
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 @
c54cf49f
...
...
@@ -1001,7 +1001,7 @@ class Containerize():
services
.
append
(
s
)
logging
.
info
(
f'stopping services
{
services
}
'
)
mySSH
.
command
(
f'docker-compose -f ci-docker-compose.yml stop'
,
'\$'
,
30
)
mySSH
.
command
(
f'docker-compose -f ci-docker-compose.yml stop
-t3
'
,
'\$'
,
30
)
time
.
sleep
(
5
)
# give some time to running containers to stop
for
svcName
in
services
:
# head -n -1 suppresses the final "X exited with status code Y"
...
...
@@ -1203,7 +1203,7 @@ class Containerize():
# Stop the containers to shut down objects
logging
.
debug
(
'
\u001B
[1m Stopping containers
\u001B
[0m'
)
cmd
=
'cd '
+
self
.
yamlPath
[
0
]
+
' && docker-compose -f docker-compose-ci.yml stop'
cmd
=
'cd '
+
self
.
yamlPath
[
0
]
+
' && docker-compose -f docker-compose-ci.yml stop
-t3
'
logging
.
info
(
cmd
)
try
:
deployStatus
=
subprocess
.
check_output
(
cmd
,
shell
=
True
,
stderr
=
subprocess
.
STDOUT
,
universal_newlines
=
True
,
timeout
=
100
)
...
...
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