From 2d2193615f0e2b026eea5e4c9a438db7fe370e5c Mon Sep 17 00:00:00 2001 From: Klaus Wenninger Date: Wed, 24 May 2023 16:21:47 +0200 Subject: [PATCH] * 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 --- sbd.spec | 8 +++++++- tests/inventory | 4 ++++ tests/tests.yml | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100755 tests/inventory create mode 100644 tests/tests.yml 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 +