Skip to content

Commit a8fb92c

Browse files
Merge pull request #979 from lsm5/packit-c10s
[skip-ci] Packit: enable c10s downstream sync
2 parents 3fb859b + 5e1484c commit a8fb92c

File tree

1 file changed

+50
-8
lines changed

1 file changed

+50
-8
lines changed

.packit.yaml

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
# See the documentation for more information:
33
# https://packit.dev/docs/configuration/
44

5-
specfile_path: rpm/netavark.spec
5+
downstream_package_name: netavark
66
upstream_tag_template: v{version}
77

8+
packages:
9+
netavark-fedora:
10+
pkg_tool: fedpkg
11+
specfile_path: rpm/netavark.spec
12+
netavark-centos:
13+
pkg_tool: centpkg
14+
specfile_path: rpm/netavark.spec
15+
16+
817
srpm_build_deps:
918
- cargo
1019
- make
@@ -13,17 +22,40 @@ srpm_build_deps:
1322
jobs:
1423
- job: copr_build
1524
trigger: pull_request
16-
notifications:
25+
packages: [netavark-fedora]
26+
notifications: &copr_build_failure_notification
1727
failure_comment:
1828
message: "Ephemeral COPR build failed. @containers/packit-build please check."
29+
targets:
30+
fedora-all-x86_64: {}
31+
fedora-all-aarch64: {}
32+
fedora-eln-x86_64:
33+
additional_repos:
34+
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
35+
fedora-eln-aarch64:
36+
additional_repos:
37+
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
38+
enable_net: true
39+
40+
- job: copr_build
41+
trigger: pull_request
42+
packages: [netavark-centos]
43+
notifications: *copr_build_failure_notification
44+
targets:
45+
- centos-stream-9-x86_64
46+
- centos-stream-9-aarch64
47+
- centos-stream-10-x86_64
48+
- centos-stream-10-aarch64
1949
enable_net: true
50+
51+
- job: copr_build
52+
trigger: pull_request
53+
packages: [netavark-centos]
54+
notifications: *copr_build_failure_notification
2055
targets:
21-
- fedora-all-x86_64
22-
- fedora-all-aarch64
23-
- centos-stream+epel-next-9-x86_64
24-
- centos-stream+epel-next-9-aarch64
25-
additional_repos:
26-
- "copr://rhcontainerbot/podman-next"
56+
- epel-9-x86_64
57+
- epel-9-aarch64
58+
enable_net: true
2759

2860
# Run on commit to main branch
2961
- job: copr_build
@@ -36,12 +68,22 @@ jobs:
3668
project: podman-next
3769
enable_net: true
3870

71+
# Sync to Fedora
3972
- job: propose_downstream
4073
trigger: release
74+
packages: [netavark-fedora]
4175
update_release: false
4276
dist_git_branches:
4377
- fedora-all
4478

79+
# Sync to CentOS Stream
80+
- job: propose_downstream
81+
trigger: release
82+
packages: [netavark-centos]
83+
update_release: false
84+
dist_git_branches:
85+
- c10s
86+
4587
- job: koji_build
4688
trigger: commit
4789
dist_git_branches:

0 commit comments

Comments
 (0)