From d52f01cc1d789138ce0edbd298a2edce0f68d6c5 Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Thu, 29 Jul 2021 17:57:21 -0400 Subject: [PATCH] Add gating configuration and test Resolves: rhbz#1986961 Signed-off-by: Bryan Gurney --- gating.yaml | 6 ++++++ tests/provision.fmf | 9 +++++++++ tests/tests.yml | 21 +++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..a192769 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,9 @@ +--- + +standard-inventory-qcow2: + qemu: + m: 10G + drive: + - size: 10737418240 + - size: 10737418240 + - size: 10737418240 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..e4180db --- /dev/null +++ b/tests/tests.yml @@ -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"