diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-11-04 14:03:51 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-11-04 14:03:51 +0100 |
commit | b602b6772d364c40399f751b45206d6a2fe7ccb7 (patch) | |
tree | 4ef8feac3394411ae45aa81c95d1639372f03f10 /controller/bin/dtf-get-machine.in | |
parent | 347e150a7bc60a1ed019877f2ae4cf2a3e51d22c (diff) | |
download | postgresql-setup-tests-b602b6772d364c40399f751b45206d6a2fe7ccb7.tar.gz postgresql-setup-tests-b602b6772d364c40399f751b45206d6a2fe7ccb7.tar.xz postgresql-setup-tests-b602b6772d364c40399f751b45206d6a2fe7ccb7.zip |
controller: shutdown VM when run was successful
New script 'dtf-return-machine' returns the VM to OpenStack based
on its public IP. In future, this may be abstracted to any VM
provider (or VM pool or whatever), but that requires also some
IP <=> VM mapping shared between dtf-get-machine and
dtf-return-machine.
* controller/.gitignore: Ignore new scripts.
* controller/Makefile.am: Build new scripts.
* controller/bin/dtf-return-machine.in: New script for VM
* deletion.
* controller/libexec/dtf-nova.in: New wrapper around 'nova'
command, showing only data output where fields are separated by
tabulator.
* controller/share/dtf-controller/ansible/playbooks/fedora.yml:
Finally call dtf-return-machine after successful test run.
Diffstat (limited to 'controller/bin/dtf-get-machine.in')
-rw-r--r-- | controller/bin/dtf-get-machine.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/bin/dtf-get-machine.in b/controller/bin/dtf-get-machine.in index 54a3253..0c51f11 100644 --- a/controller/bin/dtf-get-machine.in +++ b/controller/bin/dtf-get-machine.in @@ -26,6 +26,7 @@ Options: --distro-version=VERSION E.g. 20 for Fedora 20 --openstack-instance=ID --name=NAME Name of the machine + --quite Print only the VM IP address to stdout EOHELP test -n "$1" && exit "$1" } |