Skip to content

Commit

Permalink
chore: use docker compose instead of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Aug 8, 2024
1 parent 21a189b commit 832d2ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ controller-test:
./controller-test.sh

clean:
docker-compose down
docker compose down
kind delete cluster --name ${KIND_NAME}

local-circle:
Expand Down
6 changes: 3 additions & 3 deletions controller-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ tear_down () {
echo "==> Remove cluster"
kind delete cluster --name ${KIND_NAME}
echo "==> Remove services"
docker-compose down
docker compose down
}

start_docker_compose_services () {
echo "================ BEGIN ================"
echo "==> Bring up local provider"
docker-compose up -d
docker compose up -d
CHECK_COUNTER=1
}

mariadb_start_check () {
until $(docker-compose exec -T mysql mysql --host=local-dbaas-mariadb-provider --port=3306 -uroot -e 'show databases;' | grep -q "information_schema")
until $(docker compose exec -T mysql mysql --host=local-dbaas-mariadb-provider --port=3306 -uroot -e 'show databases;' | grep -q "information_schema")
do
if [ $CHECK_COUNTER -lt $CHECK_TIMEOUT ]; then
let CHECK_COUNTER=CHECK_COUNTER+1
Expand Down

0 comments on commit 832d2ad

Please sign in to comment.