-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy path.packit.yaml
More file actions
50 lines (45 loc) · 1.9 KB
/
.packit.yaml
File metadata and controls
50 lines (45 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# See the documentation for more information:
# https://packit.dev/docs/configuration
specfile_path: librepo.spec
version_suffix: "^{PACKIT_PROJECT_SNAPSHOTID}"
update_release: false
# Build the package with the current specfile version (otherwise it uses last git tag).
# This is needed because other packages can depend on the new version.
actions:
get-current-version:
- rpmspec --srpm --query --queryformat "%{version}" librepo.spec
jobs:
- job: copr_build
trigger: pull_request
targets:
- epel-9
- epel-10
- fedora-all
- 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
- job: tests
trigger: pull_request
identifier: "dnf5-tests"
targets:
- fedora-all
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
fmf_ref: &CI_DNF_STACK_REF main
tmt_plan: "^/plans/integration/behave-dnf5$"
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