Skip to content

Commit

Permalink
Packit: enable downstream sync to CentOS Stream 10
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lsm5 authored and haircommander committed May 7, 2024
1 parent e21e7c8 commit 10f7826
Showing 1 changed file with 41 additions and 4 deletions.
45 changes: 41 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

3 comments on commit 10f7826

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your git-forge project is not allowed to use the configured rhcontainerbot/podman-next Copr project.

Please, add this git-forge project github.com/containers/conmon to Packit allowed forge projectsin the Copr project settings.

Please sign in to comment.