зеркало из https://github.com/github/vulcanizer.git
Remove deprecated docker-compose usage
This commit is contained in:
Родитель
d3e80c18c2
Коммит
8fc22a29bf
|
@ -23,7 +23,7 @@ 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
|
||||
|
||||
|
@ -31,7 +31,7 @@ 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
|
||||
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче