Commit bb54d68e1cdd8b2fca67cd0d6643ee7cc396d4bd
1 parent
76c75caa
Exists in
master
and in
89 other branches
Add script to install an environment from scratch
Showing
1 changed file
with
22 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | +#!/bin/sh | |
| 2 | + | |
| 3 | +set -e | |
| 4 | +set -x | |
| 5 | + | |
| 6 | +# cleanup previous build | |
| 7 | +cleanup() { | |
| 8 | + vagrant destroy -f | |
| 9 | + rm -rf tmp/ | |
| 10 | +} | |
| 11 | +cleanup | |
| 12 | +trap cleanup INT EXIT TERM | |
| 13 | + | |
| 14 | +# bring VMS up | |
| 15 | +vagrant up | |
| 16 | + | |
| 17 | +# install everything | |
| 18 | +rake preconfig | |
| 19 | +rake | |
| 20 | + | |
| 21 | +# test | |
| 22 | +rake test | ... | ... |