From 3411f7794dcbeda72484e114fafeaaf40d74dc2d Mon Sep 17 00:00:00 2001 From: Dmitrii Kozlov Date: Sat, 17 Aug 2024 00:05:56 +0300 Subject: [PATCH] switch to docker compose --- test/docker-compose.yml | 2 -- test/test.sh | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/docker-compose.yml b/test/docker-compose.yml index d4574c90..9e74917a 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -1,6 +1,4 @@ # this is compose for test environment - -version: "3" services: minio: image: quay.io/minio/minio:latest diff --git a/test/test.sh b/test/test.sh index 382ddcad..1acdb34a 100755 --- a/test/test.sh +++ b/test/test.sh @@ -11,7 +11,7 @@ export IDENTIFO_STORAGE_MONGO_TEST_INTEGRATION=1 export IDENTIFO_STORAGE_MONGO_CONN="mongodb://admin:password@localhost:27017/billing-local?authSource=admin" export IDENTIFO_REDIS_HOST="127.0.0.1:6379" -docker-compose up -d +docker compose up -d sleep 1 echo "dependencies started" @@ -20,6 +20,6 @@ go test -race -timeout=60s -count=1 ../... test_exit=$? # docker-compose down -v -docker-compose rm -s -f -v +docker compose rm -s -f -v exit $test_exit