diff options
author | Maros Kopec <makopec@redhat.com> | 2022-05-25 10:51:21 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-06-28 12:20:05 -0400 |
commit | aed9b29a99483dfce637276e647d553429e02738 (patch) | |
tree | 73df937e081eb9235832bb8ca754f511ba680749 | |
parent | aeea49de699cad2ee89f6e3908cb6b96bccbd49b (diff) | |
download | sos-aed9b29a99483dfce637276e647d553429e02738.tar.gz |
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 <makopec@redhat.com>
-rw-r--r-- | .fmf/version | 1 | ||||
-rw-r--r-- | .packit.yaml | 7 | ||||
-rw-r--r-- | sos/plans/beakerlib.fmf | 9 | ||||
-rw-r--r-- | sos/plans/main.fmf | 7 |
4 files changed, 24 insertions, 0 deletions
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 |