Use downstream tests

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
This commit is contained in:
Cristian Le 2023-11-27 12:05:55 +01:00
parent c43031ba80
commit 3d8a426c8d
3 changed files with 14 additions and 15 deletions

13
.distro/plans/rpm.fmf Normal file
View File

@ -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

View File

@ -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

View File

@ -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