diff --git a/.travis.yml b/.travis.yml index dcc8ed0..601962a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -dist: xenial +dist: bionic language: minimal diff --git a/bin/proxyctl b/bin/proxyctl index 2611b4c..2e0e064 100755 --- a/bin/proxyctl +++ b/bin/proxyctl @@ -256,6 +256,9 @@ cleanup () # Remove dangling project containers log "Removing dangling project: ${project_name}..." docker ps -qa --filter "label=com.docker.compose.project=${project_name}" | xargs docker rm -f + # Remove project volumes. "docker volume prune" (used below) does not remove the project_root volume. + # See https://github.com/moby/moby/issues/40152 + docker volume ls -q --filter "label=com.docker.compose.project=${project_name}" | xargs docker volume rm -f # Disconnect vhost-proxy from the project network and remove the network. # See https://github.com/docksal/service-vhost-proxy/issues/6 for more details on why this is necessary. local network="${project_name}_default" diff --git a/tests/projects/project1/.docksal/docksal.env b/tests/projects/project1/.docksal/docksal.env index 0a9c8a0..8b13789 100644 --- a/tests/projects/project1/.docksal/docksal.env +++ b/tests/projects/project1/.docksal/docksal.env @@ -1 +1 @@ -DOCKSAL_STACK=none + diff --git a/tests/projects/project2/.docksal/docksal.env b/tests/projects/project2/.docksal/docksal.env index 0a9c8a0..e69de29 100644 --- a/tests/projects/project2/.docksal/docksal.env +++ b/tests/projects/project2/.docksal/docksal.env @@ -1 +0,0 @@ -DOCKSAL_STACK=none diff --git a/tests/projects/project3/.docksal/docksal.env b/tests/projects/project3/.docksal/docksal.env index 0a9c8a0..e69de29 100644 --- a/tests/projects/project3/.docksal/docksal.env +++ b/tests/projects/project3/.docksal/docksal.env @@ -1 +0,0 @@ -DOCKSAL_STACK=none