| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Try to split into three separate components -> 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.
|
|
|
|
|
|
|
| |
.. because data for x86_64 servers are already generated.
* lib_pgsql.sh (dtf_postgresql_upgrade_matrix): Testing upgrade
from f21 and f22 is now possible.
|
|
|
|
|
| |
* lib.sh: Mostly fix double-quoting and back-tick removal.
* lib_pgsql.sh: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When system's locale changed e.g. from en_US.utf8 to en_US.UTF-8,
older PostgreSQL versions were unable to upgrade the data
directory. From Fedora 20 we should be able to upgrade without
issues.
Related: #1007802
* lib_pgsql.sh (dtf_postgresql_cb_upgrade)
(dtf_postgresql_cb_upgrade_select): New callbacks for
dtf_postgresql_upgrade_tour function.
(dtf_postgresql_upgrade_tour): Function determining against which
data the installation is able to upgrade and performs all the
possible upgrade scenarios.
* tasks/upgrade-basic/runtest.sh: Switch to
dtf_postgresql_upgrade_tour usage.
* tasks/upgrade-utf8-syntax/config.sh: New testcase config.
* tasks/upgrade-utf8-syntax/runtest.sh: New testcase.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Older versions of postgresql-setup do not support --initdb option.
* lib_pgsql.sh (dtf_postgresql_phase_cleanup): Do not fail when
the data directory is not created by test.
* tasks/initdb/runtest.sh: Avoid running this test on older
RHEL/Fedora systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible/dummy-wrapper.yml: Helper playbook to directly invoke
"included" playbooks.
* ansible/fedora.yml: The "main" playbook (new file).
* ansible/include/beakerlib.yml: New file, install beakerlib
remotely.
* ansible/include/prepare-testenv.yml: Install the test
dependencies remotely.
* ansible/run_include: Helper script to run included playbooks.
* dist: Do not distribute ansible playbooks in tarball.
* get_machine: Helper script to obtain openstack machine, not
used currently.
* lib_pgsql.sh: Assert for PG_VERSION, not for datadir (as it by
default exists after postgresql-server installation.
* run_remote: Helper script invoking the main ansible playbook.
* ansible_helpers/wait-for-ssh: Helper script as 'wait_for' is
broken?
* README: Document.
* .gitignore: Ignore private files.
|
|
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.
|