diff --git a/scripts/iov_faucet_start.sh b/scripts/iov_faucet_start.sh deleted file mode 100755 index 2c8e7972..00000000 --- a/scripts/iov_faucet_start.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" - -# Choose from https://hub.docker.com/r/iov1/iov-faucet/tags/ -FAUCET_VERSION="v0.8.1" - -TMP_DIR=$(mktemp -d "${TMPDIR:-/tmp}/faucet_start.XXXXXXXXX") -LOGFILE="$TMP_DIR/faucet.log" - -DOCKER_HOST_IP=$(docker run --rm alpine ip route | awk 'NR==1 {print $3}') - -BLOCKCHAIN_URL="ws://$DOCKER_HOST_IP:23456" -echo "Connecting to $BLOCKCHAIN_URL" - -docker run --rm \ - --read-only \ - --env "FAUCET_CONCURRENCY=3" \ - --env "FAUCET_MNEMONIC=degree tackle suggest window test behind mesh extra cover prepare oak script" \ - -p 8000:8000 \ - "iov1/iov-faucet:${FAUCET_VERSION}" \ - start bns "$BLOCKCHAIN_URL" \ - > "$LOGFILE" & - -echo "Faucet running and logging into $LOGFILE" diff --git a/scripts/iov_faucet_stop.sh b/scripts/iov_faucet_stop.sh deleted file mode 100755 index af68ceca..00000000 --- a/scripts/iov_faucet_stop.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" - -LABEL_PART="iov1/iov-faucet" - -CONTAINER_ID=$(docker container ls | grep -F "$LABEL_PART:" | awk '{print $1}') -echo "Killing $LABEL_PART container '$CONTAINER_ID' ..." -docker container kill "$CONTAINER_ID"