From 3d8a426c8d9a5d9edcf4eaed0c6209cccea0684e Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Mon, 27 Nov 2023 12:05:55 +0100 Subject: [PATCH] Use downstream tests Signed-off-by: Cristian Le --- .distro/plans/rpm.fmf | 13 +++++++++++++ .distro/plans/rpmlint.fmf | 14 -------------- .packit.yaml | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 .distro/plans/rpm.fmf delete mode 100644 .distro/plans/rpmlint.fmf diff --git a/.distro/plans/rpm.fmf b/.distro/plans/rpm.fmf new file mode 100644 index 0000000..794bffe --- /dev/null +++ b/.distro/plans/rpm.fmf @@ -0,0 +1,13 @@ +/rpminspect: + plan: + import: + url: https://github.com/packit/tmt-plans + ref: main + name: /plans/rpminspect + +/rpmlint: + plan: + import: + url: https://github.com/packit/tmt-plans + ref: main + name: /plans/rpmlint diff --git a/.distro/plans/rpmlint.fmf b/.distro/plans/rpmlint.fmf deleted file mode 100644 index 0db484e..0000000 --- a/.distro/plans/rpmlint.fmf +++ /dev/null @@ -1,14 +0,0 @@ -summary: - Perform rpmlint and rpminspect tests -prepare: - - name: Download the source rpm - how: shell - script: cd /tmp && curl -O ${PACKIT_SRPM_URL} - - name: Download rpm packages - how: shell - script: cd /tmp && dnf download ${PACKIT_COPR_RPMS} -discover+: - how: fmf - filter: "tag: rpmlint" -execute: - how: tmt diff --git a/.packit.yaml b/.packit.yaml index 5d25459..e32fa57 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -12,7 +12,7 @@ files_to_sync: dest: plans/ filters: - "- .distro/plans/main.fmf.dist-git" - - "- .distro/plans/rpmlint.fmf" + - "- .distro/plans/rpm.fmf" - src: .distro/plans/main.fmf.dist-git dest: plans/main.fmf upstream_package_name: json-schema-validator