diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..58a99aa --- /dev/null +++ b/gating.yaml @@ -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} diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..ad7d9f5 --- /dev/null +++ b/plans/main.fmf @@ -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 diff --git a/tests/upstream/main.fmf b/tests/upstream/main.fmf new file mode 100644 index 0000000..4d4247b --- /dev/null +++ b/tests/upstream/main.fmf @@ -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