diff --git a/sbd.spec b/sbd.spec index 745aecb..3a9342d 100644 --- a/sbd.spec +++ b/sbd.spec @@ -19,7 +19,7 @@ %global shortcommit %(echo %{longcommit}|cut -c1-8) %global modified %(echo %{longcommit}-|cut -f2 -d-) %global github_owner Clusterlabs -%global buildnum 1 +%global buildnum 2 %ifarch s390x s390 # minimum timeout on LPAR diag288 watchdog is 15s @@ -182,6 +182,12 @@ fi %{_libdir}/libsbdtestbed* %changelog +* Wed May 24 2023 Klaus Wenninger - 1.5.2-2 +- add required tests subdirectory in addition to gating.yaml + that had already been brought over before + + Related: rhbz#2168567 + * Wed May 24 2023 Klaus Wenninger - 1.5.2-1 - rebase to upstream v1.5.2 - convert license naming to SPDX diff --git a/tests/inventory b/tests/inventory new file mode 100755 index 0000000..e0cea17 --- /dev/null +++ b/tests/inventory @@ -0,0 +1,4 @@ +#!/bin/bash +export TEST_DOCKER_EXTRA_ARGS="--privileged --network host" +exec merge-standard-inventory "$@" + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..4c67a11 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,16 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + - container + tests: + - smoke: + dir: . + run: /usr/share/sbd/regressions.sh + required_packages: + - sbd + - sbd-tests + - device-mapper +