bin/start-toxiproxy.sh in toxiproxy-0.1.4 vs bin/start-toxiproxy.sh in toxiproxy-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
#!/bin/bash -e
-VERSION='21a264cc75549c3ae837b606eb6e17ea'
+VERSION='v2.0.0rc2'
TOXIPROXY_LOG_DIR=${CIRCLE_ARTIFACTS:-'/tmp'}
echo "[start toxiproxy]"
-curl --silent http://shopify-vagrant.s3.amazonaws.com/toxiproxy/toxiproxy-$VERSION -o ./bin/toxiproxy
-chmod +x ./bin/toxiproxy
-nohup bash -c "./bin/toxiproxy > ${TOXIPROXY_LOG_DIR}/toxiproxy.log 2>&1 &"
+curl --silent -L https://github.com/Shopify/toxiproxy/releases/download/$VERSION/toxiproxy-server-linux-amd64 -o ./bin/toxiproxy-server
+chmod +x ./bin/toxiproxy-server
+nohup bash -c "./bin/toxiproxy-server > ${TOXIPROXY_LOG_DIR}/toxiproxy.log 2>&1 &"