Use downstream tests
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
This commit is contained in:
parent
c43031ba80
commit
3d8a426c8d
13
.distro/plans/rpm.fmf
Normal file
13
.distro/plans/rpm.fmf
Normal 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
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user