Initial gating tests for snapm

Resolves: RHEL-59006
This commit is contained in:
Bryn M. Reeves 2024-12-20 16:47:20 +00:00
parent d8af92595b
commit 3e2a40b1d9
4 changed files with 40 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
i--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

25
plans/main.fmf Normal file
View File

@ -0,0 +1,25 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
prepare:
- name: Install packages
how: install
package:
- stratisd
- stratis-cli
- lvm2
- python3-boom
- python3-pytest
- name: Enable Stratisd
how: shell
script: |
systemctl enable --now stratisd
- name: Enable CRB
how: shell
script: |
dnf install -y "dnf-command(config-manager)" ;
dnf config-manager --set-enabled crb || true

8
tests/upstream/main.fmf Normal file
View File

@ -0,0 +1,8 @@
summary: Run snapm upstream test suite
test: |
pytest -v --log-level=debug
path: snapm-0.4.0/
require:
- python3-pytest
- python3-devel
duration: 25m