Skip to content

Commit

Permalink
Merge pull request #262 from uselagoon/docker-compose-fixes
Browse files Browse the repository at this point in the history
chore: use docker compose instead of docker-compose
  • Loading branch information
shreddedbacon authored Aug 8, 2024
2 parents 21a189b + 832d2ad commit 62f368a
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 62f368a

Please sign in to comment.