From a6050b1213db1cfa35a3dd397d09dfc79a942949 Mon Sep 17 00:00:00 2001 From: Jonathan Chappelow Date: Wed, 28 Feb 2024 14:21:00 -0600 Subject: [PATCH] remove obsolete deployments/compose/run.sh --- deployments/compose/run.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 deployments/compose/run.sh diff --git a/deployments/compose/run.sh b/deployments/compose/run.sh deleted file mode 100755 index 1edfac154..000000000 --- a/deployments/compose/run.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cleanup() { - cp ./../../.build/kwild-darwin-arm64 kwild - rm -rf kwil/testnet/ - rm ./kwild -} - -bringup() { - cp ./../../.build/kwild-darwin-arm64 kwild - ./kwild utils testnet -o ./kwil/testnet -v 3 -n 0 --starting-ip-address 172.10.100.2 --populate-persistent-peers - rm ./kwild -} - -start() { - # Build Kwild - test $1 && task --taskfile ../../Taskfile.yml build:docker && task build || echo "skip build image" - - # start kwild - printf "bringing up kwild services: \n" - bringup - - docker compose -f kwil/docker-compose.yml up -d -} - -stop() { - docker-compose -f kwil/docker-compose.yml stop - docker-compose -f kwil/docker-compose.yml rm -f - cleanup -} - -test $# -eq 0 && (echo Available funcs:;echo; declare -F | awk '{print $3}'; exit 1) - -$@