forked from rpm-software-management/dnf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yaml
78 lines (74 loc) · 2.1 KB
/
.packit.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: dnf5.spec
# add or remove files that should be synced
files_to_sync:
- dnf5.spec
- .packit.yaml
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: dnf5
# downstream (Fedora) RPM package name
downstream_package_name: dnf5
jobs:
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
copy_upstream_release_description: true
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all
- job: copr_build
trigger: pull_request
targets:
- fedora-all
branch: 'main'
actions:
get-current-version:
- bash -c 'rpmspec -q --queryformat "%{VERSION}\n" dnf5.spec | head -n1'
- job: copr_build
trigger: pull_request
targets:
- fedora-all
branch: 'create-pull-request/patch'
actions:
get-current-version:
- bash -c 'rpmspec -q --queryformat "%{VERSION}\n" dnf5.spec | head -n1'
- 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: main
tmt_plan: "^/plans/integration/behave-dnf5$"
- job: tests
trigger: pull_request
identifier: "createrepo_c-tests"
targets:
- fedora-all
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
fmf_ref: main
tmt_plan: "^/plans/integration/behave-createrepo_c$"
- job: tests
trigger: pull_request
identifier: "dnf-tests"
manual_trigger: true
targets:
- fedora-all
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
fmf_ref: main
tmt_plan: "^/plans/integration/behave-dnf$"
- job: tests
trigger: pull_request
identifier: "dnf5daemon-tests"
targets:
- fedora-all
fmf_url: https://github.com/rpm-software-management/ci-dnf-stack.git
fmf_ref: main
tmt_plan: "^/plans/integration/behave-dnf5daemon$"