Skip to content

Commit

Permalink
refactor: change to compose v2 (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayconamaroCW authored Apr 3, 2024
1 parent bd09c0d commit ebc8c84
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ e2e-stratus-postgres test="":
fi

echo "-> Starting Postgres"
docker-compose down
docker-compose up -d
docker compose down
docker compose up -d

echo "-> Waiting Postgres to start"
wait-service --tcp 0.0.0.0:5432 -t {{ wait_service_timeout }} -- echo
Expand All @@ -261,7 +261,7 @@ e2e-stratus-postgres test="":
killport 3000

echo "-> Killing Postgres"
docker-compose down
docker compose down

echo "** -> Stratus log accessible in ./stratus.log **"
exit $result_code
Expand All @@ -280,8 +280,8 @@ e2e-flamegraph:

# Start PostgreSQL
echo "Starting PostgreSQL"
docker-compose down -v
docker-compose up -d --force-recreate
docker compose down -v
docker compose up -d --force-recreate

# Wait for PostgreSQL
echo "Waiting for PostgreSQL to be ready"
Expand Down Expand Up @@ -370,8 +370,8 @@ contracts-test-stratus *args="":
contracts-test-stratus-postgres *args="":
#!/bin/bash
echo "-> Starting Postgres"
docker-compose down
docker-compose up -d
docker compose down
docker compose up -d

echo "-> Waiting Postgres to start"
wait-service --tcp 0.0.0.0:5432 -t {{ wait_service_timeout }} -- echo
Expand All @@ -390,7 +390,7 @@ contracts-test-stratus-postgres *args="":
killport 3000

echo "-> Killing Postgres"
docker-compose down
docker compose down

exit $result_code

Expand Down

0 comments on commit ebc8c84

Please sign in to comment.