<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql-setup-tests.git/controller/bin, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/'/>
<entry>
<title>controller: add --separate-volume option for dtf-get-machine</title>
<updated>2015-06-08T14:47:01+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2015-06-08T14:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=7f8b33f0df4b4ec6fe41163b5e6ba47db138b392'/>
<id>7f8b33f0df4b4ec6fe41163b5e6ba47db138b392</id>
<content type='text'>
TODO: deal with volume removal after VM termination?

* controller/bin/dtf-get-machine.in: Option parsing code added.
($opt_separate_volume): New global.
(show_help): Describe --separate-volume option.
(boot): Use --block-device instead of --image option for nova boot
if --separate-volume is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TODO: deal with volume removal after VM termination?

* controller/bin/dtf-get-machine.in: Option parsing code added.
($opt_separate_volume): New global.
(show_help): Describe --separate-volume option.
(boot): Use --block-device instead of --image option for nova boot
if --separate-volume is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: better logging feature for dtf-controller</title>
<updated>2014-11-24T08:30:46+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-24T08:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=c34469f5abba17387abcaddb2f3da77bf4a88757'/>
<id>c34469f5abba17387abcaddb2f3da77bf4a88757</id>
<content type='text'>
Use logging wrapper functions and log into dedicated file per
sub-task (apart from STDERR/STDOUT as usual).

* controller/bin/dtf-controller (log_info, log_error, log_die)
(log_any): New logging functions.
($log_procid, $log_logfile, @log_buffer): New logging related
variables.
(load_runfile): Remove old comment.
(subcommand): Use log_info instead of print.
(child_task): Open child's logging file.  Better parse check $run
content.
(main): Use log_info instead of print.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use logging wrapper functions and log into dedicated file per
sub-task (apart from STDERR/STDOUT as usual).

* controller/bin/dtf-controller (log_info, log_error, log_die)
(log_any): New logging functions.
($log_procid, $log_logfile, @log_buffer): New logging related
variables.
(load_runfile): Remove old comment.
(subcommand): Use log_info instead of print.
(child_task): Open child's logging file.  Better parse check $run
content.
(main): Use log_info instead of print.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: option checking in dtf-run-remote</title>
<updated>2014-11-24T06:50:05+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-24T06:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=708a73f4edd0ba8c32c8dfd194d5f0e12373b2a2'/>
<id>708a73f4edd0ba8c32c8dfd194d5f0e12373b2a2</id>
<content type='text'>
* controller/bin/dtf-run-remote.in: Check that --setup-playbook
and --taskdir do point to existing files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* controller/bin/dtf-run-remote.in: Check that --setup-playbook
and --taskdir do point to existing files.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: fix remote-run handling</title>
<updated>2014-11-20T11:33:35+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-20T11:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=94b4b752b43dd32c0af5b812c9c097b867aaf4d7'/>
<id>94b4b752b43dd32c0af5b812c9c097b867aaf4d7</id>
<content type='text'>
* controller/bin/dtf-return-machine.in: Do not return machines
which were faked (by DTF_GET_MACHINE_FAKE_IP).
* controller/bin/dtf-run-remote.in: Do not lowercase all option
arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* controller/bin/dtf-return-machine.in: Do not return machines
which were faked (by DTF_GET_MACHINE_FAKE_IP).
* controller/bin/dtf-run-remote.in: Do not lowercase all option
arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: make the system setup configurable</title>
<updated>2014-11-20T08:45:15+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-20T08:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=5268c1ed3fb9816022618ef02995300a6221d98e'/>
<id>5268c1ed3fb9816022618ef02995300a6221d98e</id>
<content type='text'>
Add the --setup-playbook option for dtf-run-remote which allows us
to submit configuration (or any) playbook which will be included
into the default one, executed before actual testing.

* controller/Makefile.am: s/fedora.yml/default.yml/.
* controller/bin/dtf-controller.in: Call dtf-remote-run with
--setup-playbook option.
* controller/bin/dtf-run-remote.in: Fix the option parsing.  Add
new option --setup-playbook.
(error): New function.
(die): Use '$*' instead of '*@'.
* controller/share/dtf-controller/ansible/playbooks/fedora.yml:
Rename to default.yml.
* controller/share/dtf-controller/ansible/playbooks/default.yml:
Moved from fedora.yml.
* controller/share/--/--/playbooks/include/prepare-testenv.yml:
Removed hard-wired configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the --setup-playbook option for dtf-run-remote which allows us
to submit configuration (or any) playbook which will be included
into the default one, executed before actual testing.

* controller/Makefile.am: s/fedora.yml/default.yml/.
* controller/bin/dtf-controller.in: Call dtf-remote-run with
--setup-playbook option.
* controller/bin/dtf-run-remote.in: Fix the option parsing.  Add
new option --setup-playbook.
(error): New function.
(die): Use '$*' instead of '*@'.
* controller/share/dtf-controller/ansible/playbooks/fedora.yml:
Rename to default.yml.
* controller/share/dtf-controller/ansible/playbooks/default.yml:
Moved from fedora.yml.
* controller/share/--/--/playbooks/include/prepare-testenv.yml:
Removed hard-wired configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>dtf-run-remote: make sure basename will success</title>
<updated>2014-11-06T13:11:14+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-06T13:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=f17298d2aa8595bae29aa4757d7a9aa6278adadd'/>
<id>f17298d2aa8595bae29aa4757d7a9aa6278adadd</id>
<content type='text'>
* controller/bin/dtf-run-remote.in (tarball): First process the
$opt_taskdir with readlink -f to get some real path (instead of
'.' e.g.) and then call basename.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* controller/bin/dtf-run-remote.in (tarball): First process the
$opt_taskdir with readlink -f to get some real path (instead of
'.' e.g.) and then call basename.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: bash - fail in case of not handled option</title>
<updated>2014-11-04T13:38:10+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-04T13:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=ed9a4b098b23e4b76284c8f9f1561dc41090da17'/>
<id>ed9a4b098b23e4b76284c8f9f1561dc41090da17</id>
<content type='text'>
* bin/dtf-get-machine.in: Exit if option was parsed but was not
handled explicitly by case statement.
* bin/dtf-run-remote.in: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bin/dtf-get-machine.in: Exit if option was parsed but was not
handled explicitly by case statement.
* bin/dtf-run-remote.in: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: shutdown VM when run was successful</title>
<updated>2014-11-04T13:03:51+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-04T13:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=b602b6772d364c40399f751b45206d6a2fe7ccb7'/>
<id>b602b6772d364c40399f751b45206d6a2fe7ccb7</id>
<content type='text'>
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 &lt;=&gt; 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;=&gt; 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller/dtf-controller: saner stdout log</title>
<updated>2014-11-03T15:26:08+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-03T15:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=347e150a7bc60a1ed019877f2ae4cf2a3e51d22c'/>
<id>347e150a7bc60a1ed019877f2ae4cf2a3e51d22c</id>
<content type='text'>
* controller/bin/dtf-controller.in: Print '\n' after error msg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* controller/bin/dtf-controller.in: Print '\n' after error msg.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller/dtf-get-machine: make nova boot fail fatal</title>
<updated>2014-11-03T09:13:00+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-03T09:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=4893731d9010991c9abc379a894b60da2924a09b'/>
<id>4893731d9010991c9abc379a894b60da2924a09b</id>
<content type='text'>
* controller/bin/dtf-get-machine.in: Do not try to check for IP
address if 'nova boot' command failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* controller/bin/dtf-get-machine.in: Do not try to check for IP
address if 'nova boot' command failed.
</pre>
</div>
</content>
</entry>
</feed>
