Sha256: 7e14373b73884b818ae711d032b0225a535fa56a4a02c85d205547b7657f7bad
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
#!/bin/bash -e VERSION='v2.0.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toxiproxy-1.0.2 | bin/start-toxiproxy.sh |