<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql-setup-tests.git/run, 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>big reorg: prepare for generalization</title>
<updated>2014-10-22T06:54:05+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-22T06:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=2422a081a5be0d5ac5afb122361bc283da67341f'/>
<id>2422a081a5be0d5ac5afb122361bc283da67341f</id>
<content type='text'>
Try to split into three separate components -&gt; controller, tester,
and 'tasks' (postgresql-tasks in our case).  The controller
component is the main part which is able to run the task remotely.
Tester is more-like library for 'tasks' component (should be
reusable on the raw git level).

* controller: Almost separated component.
* postgresql-tasks: Likewise.
* tester: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to split into three separate components -&gt; controller, tester,
and 'tasks' (postgresql-tasks in our case).  The controller
component is the main part which is able to run the task remotely.
Tester is more-like library for 'tasks' component (should be
reusable on the raw git level).

* controller: Almost separated component.
* postgresql-tasks: Likewise.
* tester: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>tasks/upgrade: add basic upgrade testcase</title>
<updated>2014-10-20T05:25:13+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-20T05:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=4d5a62e62e64554af003f3395639ba912ed0c6c6'/>
<id>4d5a62e62e64554af003f3395639ba912ed0c6c6</id>
<content type='text'>
Based on pre-generated tarball with PostgreSQL data - download the
tarball, unpack and perform 'postgresql-setup upgrade'.

* lib_pgsql.sh (dtf_postgresql_unpack_remote_data): New function.
(dtf_postgresql_upgrade_matrix): New function.  Detect which data
should we test against.
* run: Define new global $dtf_dataurl.
* tasks/upgrade-basic/config.sh: New testcase config.
* tasks/upgrade-basic/runtest.sh: New testcase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on pre-generated tarball with PostgreSQL data - download the
tarball, unpack and perform 'postgresql-setup upgrade'.

* lib_pgsql.sh (dtf_postgresql_unpack_remote_data): New function.
(dtf_postgresql_upgrade_matrix): New function.  Detect which data
should we test against.
* run: Define new global $dtf_dataurl.
* tasks/upgrade-basic/config.sh: New testcase config.
* tasks/upgrade-basic/runtest.sh: New testcase.
</pre>
</div>
</content>
</entry>
<entry>
<title>controller: configuration cleanup</title>
<updated>2014-10-14T08:09:18+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-14T07:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=959158ab0457afc4454e637db89f9d16f8aad775'/>
<id>959158ab0457afc4454e637db89f9d16f8aad775</id>
<content type='text'>
Better define configuration and provide examples.

* controller: Unpack results to correct directory, load the
configuration from new place, call run_remote with proper
arguments, generate 'results.html' with result_stats script.
* ansible/run_include: Adjust to better simulate run_remote.
* ansible/fedora.yml: Adjust for fixed configuration.
* run_remote: Likewise. Also small issues with option parsing
fixed.
* config.sh.template: Moved as config/config.sh.template.
* config/config.sh.template: Copyyed from /config.sh.template,
better documented options.
* run: Fix typo - use 'while read i' instead of 'for i in'.
* config/os/EXAMPLE.sh: New file - exmaple configuration.
* private/os/EXAMPLE.yml: Likewise.
* config/hosts.template: Likewise.
* dist.include: New file with file patterns that should be
distributed to test machine.
* dist: Distribute only those files which are necessary.
* config/.gitignore: New gitignore file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Better define configuration and provide examples.

* controller: Unpack results to correct directory, load the
configuration from new place, call run_remote with proper
arguments, generate 'results.html' with result_stats script.
* ansible/run_include: Adjust to better simulate run_remote.
* ansible/fedora.yml: Adjust for fixed configuration.
* run_remote: Likewise. Also small issues with option parsing
fixed.
* config.sh.template: Moved as config/config.sh.template.
* config/config.sh.template: Copyyed from /config.sh.template,
better documented options.
* run: Fix typo - use 'while read i' instead of 'for i in'.
* config/os/EXAMPLE.sh: New file - exmaple configuration.
* private/os/EXAMPLE.yml: Likewise.
* config/hosts.template: Likewise.
* dist.include: New file with file patterns that should be
distributed to test machine.
* dist: Distribute only those files which are necessary.
* config/.gitignore: New gitignore file.
</pre>
</div>
</content>
</entry>
<entry>
<title>run: shell-lint some constructs</title>
<updated>2014-10-12T13:45:12+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-12T13:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=9456c8e1feac086c4a0346875363b24ae2f26dc3'/>
<id>9456c8e1feac086c4a0346875363b24ae2f26dc3</id>
<content type='text'>
* run: Double-quote variables, do not use A &amp;&amp; B || C construct,
do not use backticks but rather use $().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* run: Double-quote variables, do not use A &amp;&amp; B || C construct,
do not use backticks but rather use $().
</pre>
</div>
</content>
</entry>
<entry>
<title>runner: create yml file per each task</title>
<updated>2014-10-12T12:49:27+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-12T12:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=8957b4e9296777fedf44ee0e71431763b38c2f2a'/>
<id>8957b4e9296777fedf44ee0e71431763b38c2f2a</id>
<content type='text'>
* run (run): Create the yml file as TASK_ID.result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* run (run): Create the yml file as TASK_ID.result.
</pre>
</div>
</content>
</entry>
<entry>
<title>library/run: structured output in xml</title>
<updated>2014-10-03T07:24:36+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-03T07:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=9656d604846e3a67e6e045fca0e2a04e96e93e93'/>
<id>9656d604846e3a67e6e045fca0e2a04e96e93e93</id>
<content type='text'>
Generate xml output easily parse-able by xsltproc.

* lib.sh (dtf_resultxml_init, dtf_resultxml_finish,
dtf_resultxml_cache, dtf_die):  New functions.
* run.sh: Include lib.sh globally.
* run.sh (run): Reuse new lib api.
* tasks/initdb_old/config.sh: Typo: use DTF_TEST_DESCRIPTION.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate xml output easily parse-able by xsltproc.

* lib.sh (dtf_resultxml_init, dtf_resultxml_finish,
dtf_resultxml_cache, dtf_die):  New functions.
* run.sh: Include lib.sh globally.
* run.sh (run): Reuse new lib api.
* tasks/initdb_old/config.sh: Typo: use DTF_TEST_DESCRIPTION.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2014-10-03T07:24:13+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-02T10:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=3a60df60e73c23730210f3706233d74597034148'/>
<id>3a60df60e73c23730210f3706233d74597034148</id>
<content type='text'>
Initializet the lib/run structure and created two basic tests for
PostgreSQL.

* README: New file.
* lib.sh: Likewise.
* lib_pgsql.sh: Likewise.
* run: Likewise.
* tasks/initdb/config.sh: Likewise.
* tasks/initdb/runtest.sh: Likewise.
* tasks/initdb_old/config.sh: Likewise.
* tasks/initdb_old/runtest.sh: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initializet the lib/run structure and created two basic tests for
PostgreSQL.

* README: New file.
* lib.sh: Likewise.
* lib_pgsql.sh: Likewise.
* run: Likewise.
* tasks/initdb/config.sh: Likewise.
* tasks/initdb/runtest.sh: Likewise.
* tasks/initdb_old/config.sh: Likewise.
* tasks/initdb_old/runtest.sh: Likewise.
</pre>
</div>
</content>
</entry>
</feed>
