Merge 3d8a426c8d into 40af3ec396
This commit is contained in:
commit
c2c93bc25e
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
|
||||
38
.packit.yaml
38
.packit.yaml
@ -12,13 +12,12 @@ 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
|
||||
downstream_package_name: json-schema-validator
|
||||
update_release: false
|
||||
upstream_tag_template: v{version}
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
@ -28,11 +27,17 @@ jobs:
|
||||
update_release: true
|
||||
release_suffix: "{PACKIT_RPMSPEC_RELEASE}"
|
||||
targets:
|
||||
- fedora-development
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- epel-9-x86_64
|
||||
- epel-9-aarch64
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-development
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- epel-9-x86_64
|
||||
- epel-9-aarch64
|
||||
fmf_path: .distro
|
||||
- job: copr_build
|
||||
trigger: commit
|
||||
@ -44,31 +49,32 @@ jobs:
|
||||
additional_repos:
|
||||
- copr://@scikit-build/release
|
||||
targets:
|
||||
- fedora-development-x86_64
|
||||
- fedora-latest-x86_64
|
||||
- fedora-development-aarch64
|
||||
- fedora-latest-aarch64
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- epel-9-x86_64
|
||||
- epel-9-aarch64
|
||||
- job: copr_build
|
||||
trigger: release
|
||||
owner: lecris
|
||||
project: release
|
||||
targets:
|
||||
- fedora-development-x86_64
|
||||
- fedora-latest-x86_64
|
||||
- fedora-development-aarch64
|
||||
- fedora-latest-aarch64
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- epel-9-x86_64
|
||||
- epel-9-aarch64
|
||||
- job: tests
|
||||
trigger: commit
|
||||
branch: main
|
||||
targets:
|
||||
- fedora-development
|
||||
- fedora-latest
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- epel-9-x86_64
|
||||
- epel-9-aarch64
|
||||
fmf_path: .distro
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-development
|
||||
- fedora-latest
|
||||
- fedora-rawhide
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user