1
0
mirror of https://github.com/jcwimer/startup-infrastructure synced 2026-03-24 22:34:42 +00:00

Test playbook run

This commit is contained in:
2018-10-10 09:40:00 -04:00
parent 6f65d1782d
commit 2c0ca361de
12 changed files with 336 additions and 56 deletions

View File

@@ -18,6 +18,9 @@ function run-tests {
test "Client vagrant machine can ssh into bootstrap." \
"vagrant ssh client -c 'ssh -o StrictHostKeyChecking=no -i /home/vagrant/test_rsa vagrant@192.168.254.2 ls'"
test "Running deploy script should not fail." \
"vagrant ssh client -c 'bash /vagrant/tests/files/run-test-deploy.sh'"
}
function destroy-infrastructure {