Skip to content

Commit

Permalink
Remove deprecated docker-compose usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hoenn committed Apr 2, 2024
1 parent d3e80c1 commit 8fc22a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ elasticsearch_versions=(v5 v6 v7 v8)
for v in "${elasticsearch_versions[@]}"
do
# Make sure everything is clear from previous runs
docker-compose -f integration_data/$v/elasticsearch-cluster-compose.yml down
docker compose -f integration_data/$v/elasticsearch-cluster-compose.yml down
docker volume rm ${v}_vulcanizer-backup-volume || echo "OK for volume not to exist"
done

for v in "${elasticsearch_versions[@]}"
do
cd integration_data/$v
echo "Running integration tests for Elasticsearch $v"
docker-compose -f elasticsearch-cluster-compose.yml up --build -d
docker compose -f elasticsearch-cluster-compose.yml up --build -d
echo "Wait for Elasticsearch $v to start..."
until foo=$(curl -s localhost:49200)
do
Expand All @@ -56,6 +56,6 @@ do
# Run tests
go test -v github.com/github/vulcanizer/... -tags integration -count=1

docker-compose -f elasticsearch-cluster-compose.yml down
docker compose -f elasticsearch-cluster-compose.yml down
cd ../../
done

0 comments on commit 8fc22a2

Please sign in to comment.