Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 7b309dc

Browse files
committed
Remove docker prune in favor of docker-compose down + flags
This makes it so running the integration test will only wipe out images/volumes associated with the integration tests rather than all images/volumes. Note that flags which are necessary in order to delete the images and volumes.
1 parent ecf94d0 commit 7b309dc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

integrationTest.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ NC='\033[0m'
3131
indent() { sed 's/^/ /'; }
3232
# Reset docker and wipe all volumes
3333
reset_docker() {
34-
docker-compose down -v
35-
docker system prune -f
34+
docker-compose down -v --remove-orphans --rmi local
3635
}
3736

3837
cd tests/

0 commit comments

Comments
 (0)