From 92793278114588f4bfdcd065c48790d171c132d5 Mon Sep 17 00:00:00 2001 From: mulhern Date: Sun, 27 Feb 2022 12:46:16 -0500 Subject: [PATCH] Add gating tests --- gating.yaml | 7 +++++++ stratis-cli.spec | 5 ++++- tests/tests.yml | 17 +++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..282e16b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/stratis-cli.spec b/stratis-cli.spec index a6c3b58..c0e8ff2 100644 --- a/stratis-cli.spec +++ b/stratis-cli.spec @@ -1,6 +1,6 @@ Name: stratis-cli Version: 3.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Command-line tool for interacting with the Stratis daemon License: ASL 2.0 @@ -62,6 +62,9 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8 %{python3_sitelib}/stratis_cli-*.egg-info/ %changelog +* Sun Feb 27 2022 mulhern - 3.0.1-2 +- Add gating tests + * Sun Feb 13 2022 mulhern - 3.0.1-1 - Update to 3.0.1 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..29e88ca --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,17 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: ./ + run: > + RUST_LOG=stratisd=debug + STRATISD=/usr/libexec/stratisd + make -f source/Makefile dbus-tests