From c7eaed86d387c4cc20d62933971ded3f60197487 Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Wed, 22 Jun 2022 17:37:22 -0400 Subject: [PATCH] Add gating test Signed-off-by: Bryan Gurney --- stratisd.spec | 5 ++++- tests/provision.fmf | 4 ++++ tests/tests.yml | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/stratisd.spec b/stratisd.spec index a8df94a..85faa3c 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -5,7 +5,7 @@ Name: stratisd Version: 3.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Daemon that manages block devices to create filesystems # ASL 2.0 @@ -146,6 +146,9 @@ a2x -f manpage docs/stratisd.txt %{_systemd_util_dir}/system-generators/stratis-setup-generator %changelog +* Wed Jun 22 2022 Bryan Gurney - 3.1.0-4 +- Add gating test + * Mon Jun 06 2022 Bryan Gurney - 3.1.0-3 - Remove buildhost_subdomain section from rpminspect.yaml diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..1a4f0f0 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,4 @@ +--- +standard-inventory-qcow2: + qemu: + m: 3G # Amount of VM memory diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..072c76d --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,18 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: ./testing/ + run: > + python stratisd_cert.py -v + required_packages: + - util-linux + - python3-psutil + repositories: + - repo: "https://github.com/stratis-storage/testing.git" + dest: "testing" + version: "v3.1.1"