From aed9b29a99483dfce637276e647d553429e02738 Mon Sep 17 00:00:00 2001 From: Maros Kopec Date: Wed, 25 May 2022 10:51:21 +0200 Subject: Enable testing on Testing Farm Using tmt/fmf enable testing on Testing Farm via Packit. The executed tests are stable BeakrLib tests which were upstreamed for this purpose. Signed-off-by: Maros Kopec --- .fmf/version | 1 + .packit.yaml | 7 +++++++ sos/plans/beakerlib.fmf | 9 +++++++++ sos/plans/main.fmf | 7 +++++++ 4 files changed, 24 insertions(+) create mode 100644 .fmf/version create mode 100644 sos/plans/beakerlib.fmf create mode 100644 sos/plans/main.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml index 4c24fc97..05c18e3d 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -8,6 +8,13 @@ jobs: - fedora-development-ppc64le - fedora-development-s390x trigger: pull_request +- job: tests + trigger: pull_request + metadata: + targets: + - fedora-all + - epel-8 + - epel-9 specfile_path: sos.spec synced_files: - sos.spec diff --git a/sos/plans/beakerlib.fmf b/sos/plans/beakerlib.fmf new file mode 100644 index 00000000..148041b4 --- /dev/null +++ b/sos/plans/beakerlib.fmf @@ -0,0 +1,9 @@ +summary: All upstreamed shell tests plan +description: + Execute BeakerLib tests from a different repository +discover: + how: fmf + url: https://github.com/sosreport/sos-tests.git + filter: "tier: 0, 1, 2" +execute: + how: tmt diff --git a/sos/plans/main.fmf b/sos/plans/main.fmf new file mode 100644 index 00000000..3fd986cf --- /dev/null +++ b/sos/plans/main.fmf @@ -0,0 +1,7 @@ +# Run on localhost by default +provision: + how: local + +# Use the internal executor +execute: + how: tmt \ No newline at end of file -- cgit