ZeroTierOne/tests/http/t50k/big-test-provision.sh
Adam Ierymenko a95ff21aaf test stuff
2015-11-04 15:09:19 -08:00

18 lines
454 B
Bash
Executable File

#!/bin/bash
export PATH=/home/api/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
# Provision the Big Test(tm) on Digital Ocean using tugboat CLI
REGIONS="nyc3 ams3 ams2 sfo1 sgp1 lon1 fra1 tor1"
PER_REGION=25
DROPLET_IMAGE=docker
DROPLET_SIZE=16gb
SSH_KEY=1543438
for r in $REGIONS; do
for((n=0;n<$PER_REGION;n++)); do
tugboat create TEST-${r}-${n}.zerotier.net --size=$DROPLET_SIZE --image=$DROPLET_IMAGE --region=$r --keys=$SSH_KEY
done
done