From e3f083ce52eec2075f1efe1ac6c03f6ace4108bd Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Tue, 29 Aug 2023 08:10:24 +0000 Subject: [PATCH] Create separate fmf plans for public and private tests Tests are now upstreamed in Gitlab instead of Fedora Pagure --- ci.fmf | 8 +------- plans/internal.fmf | 16 ++++++++++++++++ plans/public.fmf | 7 +++++++ 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 plans/internal.fmf create mode 100644 plans/public.fmf diff --git a/ci.fmf b/ci.fmf index d92b136..c5aa0e0 100644 --- a/ci.fmf +++ b/ci.fmf @@ -1,7 +1 @@ -summary: CI plan -discover: - how: fmf - url: https://src.fedoraproject.org/tests/libarchive.git - ref: main -execute: - how: tmt +resultsdb-testcase: separate diff --git a/plans/internal.fmf b/plans/internal.fmf new file mode 100644 index 0000000..4833503 --- /dev/null +++ b/plans/internal.fmf @@ -0,0 +1,16 @@ +summary: Private (RHEL) beakerlib tests +enabled: false +adjust: + - when: distro == rhel + enabled: true + because: private tests are accesible only within rhel pipline +discover: + - name: rhel-libarchive + how: fmf + url: git://pkgs.devel.redhat.com/tests/libarchive + - name: distribution + how: fmf + url: git://pkgs.devel.redhat.com/tests/distribution + test: /install/rhel-buildroot +execute: + how: tmt diff --git a/plans/public.fmf b/plans/public.fmf new file mode 100644 index 0000000..aa79498 --- /dev/null +++ b/plans/public.fmf @@ -0,0 +1,7 @@ +summary: Public (Gitlab) beakerlib tests +discover: + - name: gitlab + how: fmf + url: https://gitlab.com/redhat/centos-stream/tests/libarchive.git +execute: + how: tmt