From ea7989179857da04a4c83a8b19e946dd8efe7850 Mon Sep 17 00:00:00 2001 From: Filip Suba Date: Mon, 23 Mar 2020 14:29:05 +0100 Subject: [PATCH] Add CI tests using the standard test interface --- tests/provision.fmf | 5 +++++ tests/tests.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..e660f07 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- + +standard-inventory-qcow2: + qemu: + m: 2G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..f844ced --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,27 @@ +--- +# Tests suitable to run in classic environment +- hosts: localhost + roles: + - role: standard-test-basic + # python-stqe cannot be installed on 'atomic', no need to run on 'container' + tags: + - classic + repositories: + - repo: "https://gitlab.com/rh-kernel-stqe/python-stqe.git" + dest: "python-stqe" + version: stable + tests: + # Install python-stqe first + # make sure we use same version of libsan + - install_stqe: + dir: python-stqe + run: pip3 install libsan==0.3.0 && python3 setup.py install --prefix= + - iscsi-initiator-utils: + dir: ./ + run: stqe-test run --fmf -f tags:targetcli_basic + required_packages: + # required for python-stqe + - python3-pyyaml + - python3-netifaces + - python3-augeas + - python3-pip