mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-09-09 11:27:33 +08:00
Cleanup test containers when possible during tests. Add 'test-clean' make target for remaining bat-* containers.
9 lines
120 B
Bash
Executable File
9 lines
120 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Remove "bats-*" containers
|
|
function teardown {
|
|
docker rm -f $(docker ps -aq -f name=bats-*)
|
|
}
|
|
|
|
teardown
|