5
5
downstream_package_name : netavark
6
6
upstream_tag_template : v{version}
7
7
8
+ # These files get synced from upstream to downstream (Fedora / CentOS Stream) on every
9
+ # propose-downstream job. This is done so tests maintained upstream can be run
10
+ # downstream in Zuul CI and Bodhi.
11
+ # Ref: https://packit.dev/docs/configuration#files_to_sync
12
+ files_to_sync :
13
+ - src : rpm/gating.yaml
14
+ dest : gating.yaml
15
+ delete : true
16
+ - src : plans/
17
+ dest : plans/
18
+ delete : true
19
+ mkpath : true
20
+ - src : test/tmt
21
+ dest : test/tmt
22
+ delete : true
23
+ mkpath : true
24
+ - src : test-dhcp/tmt
25
+ dest : test-dhcp/tmt
26
+ delete : true
27
+ mkpath : true
28
+ - src : .fmf/
29
+ dest : .fmf/
30
+ delete : true
31
+ - .packit.yaml
32
+
8
33
packages :
9
34
netavark-fedora :
10
35
pkg_tool : fedpkg
11
36
specfile_path : rpm/netavark.spec
12
37
netavark-centos :
13
38
pkg_tool : centpkg
14
39
specfile_path : rpm/netavark.spec
40
+ netavark-eln :
41
+ specfile_path : rpm/netavark.spec
15
42
16
43
srpm_build_deps :
17
44
- cargo
@@ -22,12 +49,21 @@ jobs:
22
49
- job : copr_build
23
50
trigger : pull_request
24
51
packages : [netavark-fedora]
25
- notifications : &copr_build_failure_notification
26
- failure_comment :
27
- message : " Ephemeral COPR build failed. @containers/packit-build please check."
52
+ # notifications: &copr_build_failure_notification
53
+ # failure_comment:
54
+ # message: "Ephemeral COPR build failed. @containers/packit-build please check."
55
+ targets : &fedora_copr_targets
56
+ - fedora-all-x86_64
57
+ - fedora-all-aarch64
58
+ enable_net : true
59
+
60
+ - job : copr_build
61
+ trigger : ignore
62
+ packages : [netavark-eln]
63
+ # notifications: &copr_build_failure_notification
64
+ # failure_comment:
65
+ # message: "Ephemeral COPR build failed. @containers/packit-build please check."
28
66
targets :
29
- fedora-all-x86_64 : {}
30
- fedora-all-aarch64 : {}
31
67
fedora-eln-x86_64 :
32
68
additional_repos :
33
69
- " https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
39
75
- job : copr_build
40
76
trigger : pull_request
41
77
packages : [netavark-centos]
42
- notifications : *copr_build_failure_notification
43
- targets :
78
+ # notifications: *copr_build_failure_notification
79
+ targets : ¢os_copr_targets
44
80
- centos-stream-9-x86_64
45
81
- centos-stream-9-aarch64
46
82
- centos-stream-10-x86_64
59
95
project : podman-next
60
96
enable_net : true
61
97
98
+ # validate and unit tests
99
+ # rpm independent and sufficient to run on only one env
100
+ - job : tests
101
+ trigger : pull_request
102
+ packages : [netavark-fedora] # Include this else it will create multiple jobs
103
+ skip_build : true
104
+ targets :
105
+ - fedora-latest-stable
106
+ tmt_plan : " /plans/no-rpm"
107
+ identifier : " no-rpm"
108
+
109
+ - job : tests
110
+ trigger : pull_request
111
+ packages : [netavark-fedora]
112
+ # notifications:
113
+ # failure_comment:
114
+ # message: "TMT tests failed. @containers/packit-build please check."
115
+ targets : *fedora_copr_targets
116
+ tf_extra_params :
117
+ environments :
118
+ - artifacts :
119
+ - type : repository-file
120
+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
121
+ tmt_plan : " /plans/rpm"
122
+ identifier : " rpm-fedora"
123
+
124
+ - job : tests
125
+ trigger : pull_request
126
+ packages : [netavark-centos]
127
+ # notifications:
128
+ # failure_comment:
129
+ # message: "TMT tests failed. @containers/packit-build please check."
130
+ targets : *centos_copr_targets
131
+ tf_extra_params :
132
+ environments :
133
+ - artifacts :
134
+ - type : repository-file
135
+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
136
+ tmt_plan : " /plans/rpm"
137
+ identifier : " rpm-centos"
138
+
62
139
# Sync to Fedora
63
140
- job : propose_downstream
64
141
trigger : release
0 commit comments