Sha256: 34044a214d8b90435470a7801494685622f4c1174f6d4f184c9ed8b71ef65c8c
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
#!/bin/bash -e VERSION='v2.1.0' TOXIPROXY_LOG_DIR=${CIRCLE_ARTIFACTS:-'/tmp'} if [[ "$OSTYPE" == "linux"* ]]; then DOWNLOAD_TYPE="linux-amd64" elif [[ "$OSTYPE" == "darwin"* ]]; then DOWNLOAD_TYPE="darwin-amd64" fi echo "[dowload toxiproxy for $DOWNLOAD_TYPE]" curl --silent -L https://github.com/Shopify/toxiproxy/releases/download/$VERSION/toxiproxy-server-$DOWNLOAD_TYPE -o ./bin/toxiproxy-server echo "[start toxiproxy]" chmod +x ./bin/toxiproxy-server nohup bash -c "./bin/toxiproxy-server > ${TOXIPROXY_LOG_DIR}/toxiproxy.log 2>&1 &"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
toxiproxy-2.0.0 | bin/start-toxiproxy.sh |
toxiproxy-1.0.3 | bin/start-toxiproxy.sh |