Add gating tests

This commit is contained in:
mulhern 2022-02-27 12:46:16 -05:00
parent 4db79d0834
commit 9279327811
3 changed files with 28 additions and 1 deletions

7
gating.yaml Normal file
View File

@ -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}

View File

@ -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 <amulhern@redhat.com> - 3.0.1-2
- Add gating tests
* Sun Feb 13 2022 mulhern <amulhern@redhat.com> - 3.0.1-1
- Update to 3.0.1

17
tests/tests.yml Normal file
View File

@ -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