Last active
July 15, 2019 01:23
-
-
Save tyabu12/54d250962b32023b08477fc6815d42e2 to your computer and use it in GitHub Desktop.
ISUCON6 予選 で vagrant からベンチ投げるスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 初回のみ | |
git clone --depth 1 https://github.com/matsuu/vagrant-isucon | |
cd vagrant-isucon/isucon6-qualifier | |
vagrant up bench | |
IMAGE_HOST_IP="XXX.XXX.XXX.XXX" | |
vagrant ssh bench -c "sudo -u isucon sh -c 'cd /home/isucon/isucon6q; ./isucon6q-bench -target $IMAGE_HOST_IP'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment