Skip to content

Commit

Permalink
[skip-ci] Packit: enable c10s downstream sync
Browse files Browse the repository at this point in the history
This commit will enable downstream syncing to CentOS Stream 10. The
centos maintainer will need to manually run `packit propose-downstream`
and `centpkg build` until better centos integration is in place.

This commit also builds both rhel and centos stream copr rpms so we can check
for things like differences in python toolchain.

EL8 jobs have also been deleted. CentOS Stream 8 will go EOL soon.
We won't be shipping anything from main into EL8.

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed May 14, 2024
1 parent 1aa8d90 commit 7a63c8a
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,68 @@
# https://packit.dev/docs/configuration/

downstream_package_name: python-podman
specfile_path: rpm/python-podman.spec
update_release: false
upstream_tag_template: v{version}

packages:
python-podman-fedora:
pkg_tool: fedpkg
specfile_path: rpm/python-podman.spec
python-podman-centos:
pkg_tool: centpkg
specfile_path: rpm/python-podman.spec
python-podman-rhel:
specfile_path: rpm/python-podman.spec

srpm_build_deps:
- make

jobs:
# Copr builds for Fedora
- job: copr_build
trigger: pull_request
packages: [python-podman-fedora]
targets:
- fedora-all
- centos-stream-8

# Copr builds for CentOS Stream
- job: copr_build
trigger: pull_request
packages: [python-podman-centos]
targets:
- centos-stream-10
- centos-stream-9

# Copr builds for RHEL
- job: copr_build
trigger: pull_request
packages: [python-podman-rhel]
targets:
- epel-9

# Run on commit to main branch
- job: copr_build
trigger: commit
packages: [python-podman-fedora]
branch: main
owner: rhcontainerbot
project: podman-next

# Downstream sync for Fedora
- job: propose_downstream
trigger: release
update_release: false
packages: [python-podman-fedora]
dist_git_branches:
- fedora-all

# Downstream sync for CentOS Stream
# TODO: c9s enablement being tracked in https://issues.redhat.com/browse/RUN-2123
- job: propose_downstream
trigger: release
packages: [python-podman-centos]
dist_git_branches:
- c10s

- job: koji_build
trigger: commit
dist_git_branches:
Expand Down

0 comments on commit 7a63c8a

Please sign in to comment.