mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 10:58:16 +03:00
try harder to start docker integration tests with clean slate
for some reason "docker-compose down" takes a very long time, and doesn't actually stop containers if you add a timeout.
This commit is contained in:
parent
965a2b426f
commit
9b429cce4f
4
Makefile
4
Makefile
@ -92,13 +92,15 @@ govendor:
|
|||||||
./genlicenses.sh
|
./genlicenses.sh
|
||||||
|
|
||||||
test-integration:
|
test-integration:
|
||||||
|
-docker-compose -f docker-compose-integration.yml kill
|
||||||
|
-docker-compose -f docker-compose-integration.yml down
|
||||||
docker image build --pull --no-cache -f Dockerfile -t mox_integration_moxmail .
|
docker image build --pull --no-cache -f Dockerfile -t mox_integration_moxmail .
|
||||||
docker image build --pull --no-cache -f testdata/integration/Dockerfile.test -t mox_integration_test testdata/integration
|
docker image build --pull --no-cache -f testdata/integration/Dockerfile.test -t mox_integration_test testdata/integration
|
||||||
-rm -rf testdata/integration/moxacmepebble/data
|
-rm -rf testdata/integration/moxacmepebble/data
|
||||||
-rm -rf testdata/integration/moxmail2/data
|
-rm -rf testdata/integration/moxmail2/data
|
||||||
-rm -f testdata/integration/tmp-pebble-ca.pem
|
-rm -f testdata/integration/tmp-pebble-ca.pem
|
||||||
MOX_UID=$$(id -u) docker-compose -f docker-compose-integration.yml run test
|
MOX_UID=$$(id -u) docker-compose -f docker-compose-integration.yml run test
|
||||||
docker-compose -f docker-compose-integration.yml down --timeout 1
|
docker-compose -f docker-compose-integration.yml kill
|
||||||
|
|
||||||
|
|
||||||
imaptest-build:
|
imaptest-build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user