Add gating configuration and test

Resolves: rhbz#1986958

Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
Bryan Gurney 2021-07-29 17:21:27 -04:00
parent b3ea74c76f
commit 70973f63df
3 changed files with 36 additions and 0 deletions

6
gating.yaml Normal file
View File

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

9
tests/provision.fmf Normal file
View File

@ -0,0 +1,9 @@
---
standard-inventory-qcow2:
qemu:
m: 10G
drive:
- size: 10737418240
- size: 10737418240
- size: 10737418240

21
tests/tests.yml Normal file
View File

@ -0,0 +1,21 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: ./testing/
run: >
python stratisd_cert.py -v
--disk /dev/vdb
--disk /dev/vdc
--disk /dev/vdd
required_packages:
- util-linux
- python3-psutil
repositories:
- repo: "https://github.com/stratis-storage/testing.git"
dest: "testing"
version: "v2.4.0"