From 3c99aedf3949161c24c033bee9e4b8c2b51650c6 Mon Sep 17 00:00:00 2001 From: Paul Chen Date: Thu, 8 Aug 2024 16:03:31 +0800 Subject: [PATCH] chore: update docker-compose to docker compose --- Makefile | 4 ++-- contrib/upgrade_testnet/start.sh | 2 +- contrib/upgrade_testnet/stop.sh | 2 +- contrib/upgrade_testnet/submit_upgrade_proposal.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index cc83c8e232..da1564621d 100644 --- a/Makefile +++ b/Makefile @@ -412,11 +412,11 @@ upgrade-testnet-stop: # Run a 4-node testnet locally localnet-start: localnet-stop setup-localnet $(if $(shell docker inspect -f '{{ .Id }}' desmoslabs/desmos-env 2>/dev/null),$(info found image desmoslabs/desmos-env),$(MAKE) -C contrib/images desmos-env) - docker-compose up -d + docker compose up -d # Stop testnet localnet-stop: - docker-compose down + docker compose down .PHONY: all build-linux install \ go-mod-cache clean build \ diff --git a/contrib/upgrade_testnet/start.sh b/contrib/upgrade_testnet/start.sh index acf28da667..5a89fb37e7 100755 --- a/contrib/upgrade_testnet/start.sh +++ b/contrib/upgrade_testnet/start.sh @@ -60,4 +60,4 @@ fi # Start the devnet echo "===> Starting the devnet" -docker-compose -f $TESTNETDIR/docker-compose.yml up -d +docker compose -f $TESTNETDIR/docker-compose.yml up -d diff --git a/contrib/upgrade_testnet/stop.sh b/contrib/upgrade_testnet/stop.sh index 4acd8b6adc..1273c1a993 100755 --- a/contrib/upgrade_testnet/stop.sh +++ b/contrib/upgrade_testnet/stop.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash TESTNETDIR=$(pwd)/contrib/upgrade_testnet -docker-compose -f $TESTNETDIR/docker-compose.yml down \ No newline at end of file +docker compose -f $TESTNETDIR/docker-compose.yml down \ No newline at end of file diff --git a/contrib/upgrade_testnet/submit_upgrade_proposal.sh b/contrib/upgrade_testnet/submit_upgrade_proposal.sh index 13b33a9ce7..e181b79c06 100755 --- a/contrib/upgrade_testnet/submit_upgrade_proposal.sh +++ b/contrib/upgrade_testnet/submit_upgrade_proposal.sh @@ -105,7 +105,7 @@ echo "" echo "===> Waiting for upgrade height ($UPGRADE_HEIGHT)" while true; do curr_block=$(curl -s $NODE/status | jq -r '.result.sync_info.latest_block_height') - docker-compose -f $(pwd)/contrib/upgrade_testnet/docker-compose.yml logs --tail=1 + docker compose -f $(pwd)/contrib/upgrade_testnet/docker-compose.yml logs --tail=1 if [ ! -z ${curr_block} ] ; then echo "Current block: ${curr_block}"