dnf/.packit.yaml

47 lines
1.8 KiB
YAML

# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: dnf.spec
actions:
get-current-version:
- rpmspec --srpm --query --queryformat "%{version}" dnf.spec
jobs:
- job: copr_build
trigger: pull_request
targets:
- centos-stream+epel-next-9-x86_64
- fedora-all
additional_repos:
- "copr://rpmsoftwaremanagement/dnf-nightly"
- job: tests
trigger: pull_request
identifier: "dnf-bootc-tests"
targets:
- centos-stream-9-x86_64
fmf_url: https://github.com/evan-goode/ci-dnf-stack.git
fmf_ref: evan-goode/bootc
tmt_plan: "^/plans/integration/bootc-behave-dnf$"
tf_extra_params:
environments:
- artifacts:
- type: repository-file
# We use the rawhide repo file for all fedora releases, the url doesn't change and it is not rawhide specific (it contains "fedora-$releasever-$basearch")
id: https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/repo/fedora-rawhide/rpmsoftwaremanagement-dnf-nightly-fedora-rawhide.repo
- job: tests
trigger: pull_request
identifier: "dnf-tests"
targets:
- fedora-all
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
fmf_ref: enable-tmt-dnf-4-stack
tmt_plan: "^/plans/integration/behave-dnf$"
tf_extra_params:
environments:
- artifacts:
- type: repository-file
# We use the rawhide repo file for all fedora releases, the url doesn't change and it is not rawhide specific (it contains "fedora-$releasever-$basearch")
id: https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/repo/fedora-rawhide/rpmsoftwaremanagement-dnf-nightly-fedora-rawhide.repo