Skip to content

Commit

Permalink
switch to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
hummerdmag committed Aug 16, 2024
1 parent 18d7910 commit 3411f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# this is compose for test environment

version: "3"
services:
minio:
image: quay.io/minio/minio:latest
Expand Down
4 changes: 2 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit 3411f77

Please sign in to comment.