Skip to content

Commit 10f7826

Browse files
lsm5haircommander
authored andcommitted
Packit: enable downstream sync to CentOS Stream 10
This commit enables downstream syncing to CentOS Stream 10. The centos maintainer will need to run `packit propose-downstream` and `centpkg build` until better centos integration is in place. The copr jobs have been split distro-wise so that Fedora and CentOS builds / tests can still be triggered automatically regardless of PR author's access to the repo, while only the RHEL jobs will need manual triggering. EL8 jobs have also been deleted as CentOS Stream 8 will go EOL end of May and no further updates are expected to be shipped there. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
1 parent e21e7c8 commit 10f7826

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed

.packit.yaml

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

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

8+
packages:
9+
conmon-fedora:
10+
pkg_tool: fedpkg
11+
specfile_path: rpm/conmon.spec
12+
conmon-centos:
13+
pkg_tool: centpkg
14+
specfile_path: rpm/conmon.spec
15+
conmon-rhel:
16+
specfile_path: rpm/conmon.spec
17+
818
jobs:
919
- job: copr_build
1020
trigger: pull_request
11-
notifications:
21+
packages: [conmon-fedora]
22+
notifications: &copr_build_failure_notification
1223
failure_comment:
1324
message: "Ephemeral COPR build failed. @containers/packit-build please check."
1425
enable_net: true
@@ -17,10 +28,26 @@ jobs:
1728
- fedora-all-x86_64
1829
- fedora-eln-aarch64
1930
- fedora-eln-x86_64
31+
32+
- job: copr_build
33+
trigger: pull_request
34+
packages: [conmon-centos]
35+
notifications: *copr_build_failure_notification
36+
enable_net: true
37+
targets:
38+
- centos-stream-10-aarch64
39+
- centos-stream-10-x86_64
40+
- centos-stream-9-aarch64
41+
- centos-stream-9-x86_64
42+
43+
- job: copr_build
44+
trigger: pull_request
45+
packages: [conmon-rhel]
46+
notifications: *copr_build_failure_notification
47+
enable_net: true
48+
targets:
2049
- epel-9-aarch64
2150
- epel-9-x86_64
22-
- epel-8-aarch64
23-
- epel-8-x86_64
2451

2552
# Run on commit to main branch
2653
- job: copr_build
@@ -33,12 +60,22 @@ jobs:
3360
project: podman-next
3461
enable_net: true
3562

63+
# Downstream sync for Fedora
3664
- job: propose_downstream
3765
trigger: release
66+
packages: [conmon-fedora]
3867
update_release: false
3968
dist_git_branches:
4069
- fedora-all
4170

71+
# Downstream sync for CentOS Stream
72+
- job: propose_downstream
73+
trigger: release
74+
packages: [conmon-centos]
75+
update_release: false
76+
dist_git_branches:
77+
- c10s
78+
4279
- job: koji_build
4380
trigger: commit
4481
dist_git_branches:

0 commit comments

Comments
 (0)