From 2e1d68a1e51b29a73f6cb30a300b4d3aa5ad8d31 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Tue, 3 Oct 2023 14:07:13 +0200 Subject: [PATCH] ci: enable reverse-dependency testing in TF Signed-off-by: Matej Focko --- plans/packit-integration.fmf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 plans/packit-integration.fmf diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf new file mode 100644 index 00000000..183280b5 --- /dev/null +++ b/plans/packit-integration.fmf @@ -0,0 +1,32 @@ +discover: + how: fmf + url: https://github.com/packit/packit + filter: tier:0 | tier:1 + +prepare: + - how: install + copr: packit/packit-dev + + # make sure the Copr repo has higher priority than TF Tag Repository + - how: shell + script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5" + +adjust: + - when: "how == integration" + because: "provide latest python-specfile rpm when running locally" + prepare+: + - name: python3-ogr rpm + how: install + directory: noarch/ + + - when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9" + because: "deepdiff is not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251" + prepare+: + - how: install + package: python3-pip + - how: shell + script: pip3 install deepdiff + + - when: "distro == rhel-8 or distro == centos-8 or distro == centos-stream-8" + because: "packit doesn't support EL 8" + enabled: false