Use tmt tests
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
7b17a5b6e9
commit
5a796d7dbe
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
17
plans/unit.fmf
Normal file
17
plans/unit.fmf
Normal file
@ -0,0 +1,17 @@
|
||||
summary: stratis-cli unit tests
|
||||
|
||||
prepare:
|
||||
- name: Install package
|
||||
how: install
|
||||
package: [stratis-cli, util-linux, python3-psutil]
|
||||
|
||||
discover:
|
||||
how: shell
|
||||
url: https://github.com/stratis-storage/testing.git
|
||||
ref: v3.5.2
|
||||
tests:
|
||||
- name: unit
|
||||
test: python3 stratis_cli_cert.py -v
|
||||
|
||||
execute:
|
||||
how: tmt
|
@ -1,6 +1,6 @@
|
||||
Name: stratis-cli
|
||||
Version: 3.5.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Command-line tool for interacting with the Stratis daemon
|
||||
|
||||
License: Apache-2.0
|
||||
@ -62,6 +62,9 @@ a2x -f manpage docs/stratis.txt
|
||||
%{python3_sitelib}/stratis_cli-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Jun 14 2023 Bryan Gurney <bgurney@redhat.com> - 3.5.3-2
|
||||
- Use tmt tests
|
||||
|
||||
* Wed Jun 07 2023 Bryan Gurney <bgurney@redhat.com> - 3.5.3-1
|
||||
- Update to 3.5.3
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
standard-inventory-qcow2:
|
||||
qemu:
|
||||
m: 3G # Amount of VM memory
|
@ -1,18 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: ./testing/
|
||||
run: >
|
||||
python3 stratis_cli_cert.py -v
|
||||
required_packages:
|
||||
- util-linux
|
||||
- python3-psutil
|
||||
repositories:
|
||||
- repo: "https://github.com/stratis-storage/testing.git"
|
||||
dest: "testing"
|
||||
version: "v3.5.2"
|
Loading…
Reference in New Issue
Block a user