Skip to content
Snippets Groups Projects
Commit 95cd3347 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Ensure docker running before execute the destroy action"

parents 69774313 8cb57f54
No related branches found
No related tags found
No related merge requests found
--- ---
- include: copy_tools.yml - include: copy_tools.yml
- include: validate_docker_execute.yml
- include: cleanup_containers.yml - include: cleanup_containers.yml
- include: cleanup_images.yml - include: cleanup_images.yml
......
---
- name: Ensure the docker service is running
command: /tmp/kolla-cleanup/tools/validate-docker-execute.sh
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.." cd "$(dirname "$REAL_PATH")/.."
. tools/validate-docker-execute.sh
function process_cmd { function process_cmd {
if [[ -z "$KOLLA_IMAGES" ]]; then if [[ -z "$KOLLA_IMAGES" ]]; then
echo "No images to cleanup, exit now." echo "No images to cleanup, exit now."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment