Helper scripts to setup a benchmark host and to run them remotely for OPA.
Prereqs:
- Setup a host, you'll need the IP or hostname and passwordless ssh pre-configured
- Have ansible installed (ez mode
brew install ansible
)
Doing stuff:
- Run
init-host.sh <ip/hostname>
(this can be re-run as much as you need). - Make changes to OPA or whatever
- Run
remote-bench.sh
for benchmarks orremote-test.sh
for unit tests, look at the scripts for some vars you can tweak.