Skip to content

Commit b285746

Browse files
author
Seth Goings
committed
Merge pull request #4437 from sgoings/rigger-vagrant
contrib(vagrant): add vagrant support for rigger
2 parents 43f0833 + df2c761 commit b285746

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

contrib/vagrant/rigger/check.sh

Whitespace-only changes.

contrib/vagrant/rigger/config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SUGGEST_DEIS_TEST_DOMAIN="local3.deisapp.com"
2+
SUGGEST_DEIS_SSH_KEY="${HOME}/.vagrant.d/insecure_private_key"

contrib/vagrant/rigger/create.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(
2+
cd ${DEIS_ROOT}
3+
vagrant up --provider virtualbox
4+
)
5+
6+
export DEISCTL_TUNNEL="${DEISCTL_TUNNEL:-127.0.0.1:2222}"
7+
save-var DEISCTL_TUNNEL

contrib/vagrant/rigger/destroy.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
function _destroy-all-vagrants {
2+
VMS=$(vagrant global-status | grep deis | awk '{ print $5 }')
3+
for dir in $VMS; do
4+
cd ${dir} && vagrant destroy --force
5+
done
6+
}
7+
8+
rerun_log "Destroying Vagrant cluster..."
9+
_destroy-all-vagrants

contrib/vagrant/rigger/install.sh

Whitespace-only changes.

0 commit comments

Comments
 (0)