From 10f7826c087d504062cd426f4f1d129dbf6221c8 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 6 May 2024 11:11:15 -0400 Subject: [PATCH] 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 --- .packit.yaml | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 3ce3df72..d7edb655 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -2,13 +2,24 @@ # See the documentation for more information: # https://packit.dev/docs/configuration/ -specfile_path: rpm/conmon.spec +downstream_package_name: conmon upstream_tag_template: v{version} +packages: + conmon-fedora: + pkg_tool: fedpkg + specfile_path: rpm/conmon.spec + conmon-centos: + pkg_tool: centpkg + specfile_path: rpm/conmon.spec + conmon-rhel: + specfile_path: rpm/conmon.spec + jobs: - job: copr_build trigger: pull_request - notifications: + packages: [conmon-fedora] + notifications: &copr_build_failure_notification failure_comment: message: "Ephemeral COPR build failed. @containers/packit-build please check." enable_net: true @@ -17,10 +28,26 @@ jobs: - fedora-all-x86_64 - fedora-eln-aarch64 - fedora-eln-x86_64 + + - job: copr_build + trigger: pull_request + packages: [conmon-centos] + notifications: *copr_build_failure_notification + enable_net: true + targets: + - centos-stream-10-aarch64 + - centos-stream-10-x86_64 + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + + - job: copr_build + trigger: pull_request + packages: [conmon-rhel] + notifications: *copr_build_failure_notification + enable_net: true + targets: - epel-9-aarch64 - epel-9-x86_64 - - epel-8-aarch64 - - epel-8-x86_64 # Run on commit to main branch - job: copr_build @@ -33,12 +60,22 @@ jobs: project: podman-next enable_net: true + # Downstream sync for Fedora - job: propose_downstream trigger: release + packages: [conmon-fedora] update_release: false dist_git_branches: - fedora-all + # Downstream sync for CentOS Stream + - job: propose_downstream + trigger: release + packages: [conmon-centos] + update_release: false + dist_git_branches: + - c10s + - job: koji_build trigger: commit dist_git_branches: