Piotr Kliczewski has submitted this change and it was merged.
Change subject: Adding dao tests to std ci
......................................................................
Adding dao tests to std ci
Basically this patch is all about running dao tests
inside a mock. For this, a postgresql DB should be
installed and run inside the mock.
Added postgres packages to .packages files
Created a new script, dao-tests.sh. This script is
being called only if files that are relevant to DB
had been changed. The script will pick a port
randomly and will update pg_hba.conf file to allow
DB access.
All the rest is the same as how the tests were
running when not in std ci.
Change-Id: If01639ebd0e346e0bd724a3b9ec68b44e7e9e765
Signed-off-by: Gil Shinar <gshinar(a)redhat.com>
---
M automation/check-merged.packages
M automation/check-merged.sh
M automation/check-patch.packages
A automation/check-patch.packages.el6
M automation/check-patch.sh
A automation/dao-tests.sh
6 files changed, 119 insertions(+), 0 deletions(-)
Approvals:
Martin Peřina: Looks good to me, approved
Eyal Edri: Looks good to me, but someone else must approve
Gil Shinar: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/58663
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0d62c210ebc488f473f6dcc291f056d7111e1e1f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk(a)redhat.com>
Gerrit-Reviewer: Barak Korren
Gerrit-Reviewer: David Caro <dcaro(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri(a)redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>