Skip to content

Commit

Permalink
Merge pull request #23496 from def-/pr-restart-docker
Browse files Browse the repository at this point in the history
ci: Restart docker before starting mzcompose-based jobs
  • Loading branch information
def- authored Nov 29, 2023
2 parents 3a373fa + 494054c commit d49675e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/plugins/mzcompose/hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ date +"%Y-%m-%d %H:%M:%S" > step_start_timestamp
# Docker Compose run, which can leave old containers or volumes around that will
# interfere with this build.
ci_collapsed_heading ":docker: Purging containers and volumes from previous builds"
sudo systemctl restart docker
mzcompose --mz-quiet kill
mzcompose --mz-quiet rm --force -v
mzcompose --mz-quiet down --volumes
Expand Down

0 comments on commit d49675e

Please sign in to comment.