Skip to content

Commit

Permalink
chore: update docker-compose to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed Aug 8, 2024
1 parent e6c7788 commit 3c99aed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion contrib/upgrade_testnet/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion contrib/upgrade_testnet/stop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

TESTNETDIR=$(pwd)/contrib/upgrade_testnet
docker-compose -f $TESTNETDIR/docker-compose.yml down
docker compose -f $TESTNETDIR/docker-compose.yml down
2 changes: 1 addition & 1 deletion contrib/upgrade_testnet/submit_upgrade_proposal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 3c99aed

Please sign in to comment.