Add gating configuration and test

Resolves: rhbz#1986961

Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
Bryan Gurney 2021-07-29 17:57:21 -04:00
parent b365aa99f1
commit d52f01cc1d
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 stratis_cli_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"