55downstream_package_name : netavark
66upstream_tag_template : v{version}
77
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+
833packages :
934 netavark-fedora :
1035 pkg_tool : fedpkg
1136 specfile_path : rpm/netavark.spec
1237 netavark-centos :
1338 pkg_tool : centpkg
1439 specfile_path : rpm/netavark.spec
40+ netavark-eln :
41+ specfile_path : rpm/netavark.spec
1542
1643srpm_build_deps :
1744 - cargo
@@ -22,12 +49,21 @@ jobs:
2249 - job : copr_build
2350 trigger : pull_request
2451 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."
2866 targets :
29- fedora-all-x86_64 : {}
30- fedora-all-aarch64 : {}
3167 fedora-eln-x86_64 :
3268 additional_repos :
3369 - " https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
3975 - job : copr_build
4076 trigger : pull_request
4177 packages : [netavark-centos]
42- notifications : *copr_build_failure_notification
43- targets :
78+ # notifications: *copr_build_failure_notification
79+ targets : ¢os_copr_targets
4480 - centos-stream-9-x86_64
4581 - centos-stream-9-aarch64
4682 - centos-stream-10-x86_64
5995 project : podman-next
6096 enable_net : true
6197
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+
62139 # Sync to Fedora
63140 - job : propose_downstream
64141 trigger : release
0 commit comments