2023-04-13 08:42:18 -04:00
|
|
|
---
|
|
|
|
|
# See the documentation for more information:
|
|
|
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
|
|
2024-03-22 20:14:27 +05:30
|
|
|
downstream_package_name: podman
|
2023-05-23 09:15:03 -04:00
|
|
|
upstream_tag_template: v{version}
|
2023-04-13 08:42:18 -04:00
|
|
|
|
2025-05-02 15:39:15 +05:30
|
|
|
# These files get synced from upstream to downstream (Fedora / CentOS Stream) on every
|
|
|
|
|
# propose-downstream job. This is done so tests maintained upstream can be run
|
|
|
|
|
# downstream in Zuul CI and Bodhi.
|
|
|
|
|
# Ref: https://packit.dev/docs/configuration#files_to_sync
|
|
|
|
|
files_to_sync:
|
|
|
|
|
- src: rpm/gating.yaml
|
|
|
|
|
dest: gating.yaml
|
|
|
|
|
delete: true
|
|
|
|
|
- src: plans/
|
|
|
|
|
dest: plans/
|
|
|
|
|
delete: true
|
|
|
|
|
mkpath: true
|
|
|
|
|
- src: test/tmt/
|
|
|
|
|
dest: test/tmt/
|
|
|
|
|
delete: true
|
|
|
|
|
mkpath: true
|
|
|
|
|
- src: .fmf/
|
|
|
|
|
dest: .fmf/
|
|
|
|
|
delete: true
|
|
|
|
|
- .packit.yaml
|
|
|
|
|
|
2024-03-22 20:14:27 +05:30
|
|
|
packages:
|
|
|
|
|
podman-fedora:
|
|
|
|
|
pkg_tool: fedpkg
|
|
|
|
|
specfile_path: rpm/podman.spec
|
|
|
|
|
podman-centos:
|
|
|
|
|
pkg_tool: centpkg
|
|
|
|
|
specfile_path: rpm/podman.spec
|
2024-09-11 18:13:20 +05:30
|
|
|
podman-eln:
|
|
|
|
|
specfile_path: rpm/podman.spec
|
2024-03-22 20:14:27 +05:30
|
|
|
|
2025-04-24 16:34:14 +05:30
|
|
|
# Disable automatic merging for Copr builds (and subsequent Testing Farm)
|
|
|
|
|
merge_pr_in_ci: false
|
|
|
|
|
|
2023-08-08 06:56:44 +02:00
|
|
|
srpm_build_deps:
|
2023-09-01 09:50:59 -04:00
|
|
|
- git-archive-all
|
2023-08-08 06:56:44 +02:00
|
|
|
- make
|
|
|
|
|
|
2023-09-01 09:50:59 -04:00
|
|
|
actions:
|
2025-11-12 14:30:47 -05:00
|
|
|
fix-spec-file: "bash contrib/packit-tmt/packit-copr-rpm.sh"
|
|
|
|
|
pre-sync: "bash contrib/packit-tmt/packit-rpm-git-commit.sh"
|
2023-09-01 09:50:59 -04:00
|
|
|
|
2023-04-13 08:42:18 -04:00
|
|
|
jobs:
|
2023-08-08 06:56:44 +02:00
|
|
|
- job: copr_build
|
2023-04-13 08:42:18 -04:00
|
|
|
trigger: pull_request
|
2024-03-22 20:14:27 +05:30
|
|
|
packages: [podman-fedora]
|
2025-03-05 18:34:15 +05:30
|
|
|
notifications: &packit_generic_failure_notification
|
2023-09-21 13:33:24 -04:00
|
|
|
failure_comment:
|
2025-03-05 18:34:15 +05:30
|
|
|
message: "[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore."
|
2023-04-13 08:42:18 -04:00
|
|
|
enable_net: true
|
2023-08-08 06:56:44 +02:00
|
|
|
targets:
|
2025-05-19 12:07:54 -04:00
|
|
|
- fedora-all-x86_64
|
|
|
|
|
- fedora-all-aarch64
|
2025-05-14 14:33:09 +02:00
|
|
|
# Re-enable these scans if OpenScanHub starts scanning go packages
|
|
|
|
|
# https://packit.dev/posts/openscanhub-prototype
|
|
|
|
|
osh_diff_scan_after_copr_build: false
|
2024-09-11 18:13:20 +05:30
|
|
|
|
2025-03-27 19:34:14 +05:30
|
|
|
# Ignore until golang is updated in distro buildroot to go 1.23.3+
|
2024-10-14 13:15:26 +05:30
|
|
|
- job: copr_build
|
2025-03-27 19:34:14 +05:30
|
|
|
trigger: ignore
|
2024-10-14 13:15:26 +05:30
|
|
|
packages: [podman-eln]
|
2025-03-05 18:34:15 +05:30
|
|
|
notifications: *packit_generic_failure_notification
|
2024-10-14 13:15:26 +05:30
|
|
|
enable_net: true
|
|
|
|
|
targets:
|
|
|
|
|
fedora-eln-x86_64:
|
|
|
|
|
additional_repos:
|
|
|
|
|
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
|
|
|
|
|
fedora-eln-aarch64:
|
|
|
|
|
additional_repos:
|
|
|
|
|
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
|
2024-03-22 20:14:27 +05:30
|
|
|
|
2025-03-27 19:34:14 +05:30
|
|
|
# Ignore until golang is updated in distro buildroot to go 1.23.3+
|
2024-10-14 13:15:26 +05:30
|
|
|
- job: copr_build
|
2025-03-27 19:34:14 +05:30
|
|
|
trigger: ignore
|
2024-10-14 13:15:26 +05:30
|
|
|
packages: [podman-centos]
|
2025-03-05 18:34:15 +05:30
|
|
|
notifications: *packit_generic_failure_notification
|
2024-10-14 13:15:26 +05:30
|
|
|
enable_net: true
|
|
|
|
|
targets:
|
2024-11-26 15:05:01 +05:30
|
|
|
- centos-stream-9-x86_64
|
|
|
|
|
- centos-stream-9-aarch64
|
2024-10-14 13:15:26 +05:30
|
|
|
- centos-stream-10-x86_64
|
|
|
|
|
- centos-stream-10-aarch64
|
2024-06-27 08:36:13 -04:00
|
|
|
|
2023-08-08 06:56:44 +02:00
|
|
|
# Run on commit to main branch
|
|
|
|
|
- job: copr_build
|
2023-04-13 08:42:18 -04:00
|
|
|
trigger: commit
|
2024-05-13 12:14:36 -04:00
|
|
|
packages: [podman-fedora]
|
2023-04-13 08:42:18 -04:00
|
|
|
branch: main
|
2023-08-08 06:56:44 +02:00
|
|
|
owner: rhcontainerbot
|
2023-04-13 08:42:18 -04:00
|
|
|
project: podman-next
|
2023-08-08 06:56:44 +02:00
|
|
|
enable_net: true
|
2023-05-23 09:15:03 -04:00
|
|
|
|
2025-05-02 15:39:15 +05:30
|
|
|
# Tests on Fedora
|
|
|
|
|
- job: tests
|
|
|
|
|
trigger: pull_request
|
|
|
|
|
packages: [podman-fedora]
|
|
|
|
|
notifications: *packit_generic_failure_notification
|
|
|
|
|
targets:
|
2025-05-22 09:44:46 -04:00
|
|
|
- fedora-all
|
2025-05-02 15:39:15 +05:30
|
|
|
tmt_plan: "/plans/system/*"
|
|
|
|
|
tf_extra_params:
|
|
|
|
|
environments:
|
|
|
|
|
- artifacts:
|
|
|
|
|
- type: repository-file
|
|
|
|
|
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
|
|
|
|
|
|
2023-08-01 17:49:57 +02:00
|
|
|
- job: tests
|
|
|
|
|
identifier: cockpit-revdeps
|
|
|
|
|
trigger: pull_request
|
2024-03-22 20:14:27 +05:30
|
|
|
packages: [podman-fedora]
|
2023-09-20 08:42:36 +02:00
|
|
|
notifications:
|
|
|
|
|
failure_comment:
|
|
|
|
|
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
|
2023-08-01 17:49:57 +02:00
|
|
|
targets:
|
2023-08-25 11:18:11 +02:00
|
|
|
- fedora-latest-stable
|
|
|
|
|
- fedora-development
|
2023-08-01 17:49:57 +02:00
|
|
|
tf_extra_params:
|
|
|
|
|
environments:
|
|
|
|
|
- artifacts:
|
|
|
|
|
- type: repository-file
|
|
|
|
|
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
|
|
|
|
|
- type: repository-file
|
|
|
|
|
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
|
|
|
|
|
tmt:
|
|
|
|
|
context:
|
|
|
|
|
revdeps: "yes"
|
|
|
|
|
|
2025-09-22 16:11:01 +02:00
|
|
|
- job: tests
|
|
|
|
|
identifier: tmt-revdeps
|
|
|
|
|
trigger: pull_request
|
|
|
|
|
packages: [podman-fedora]
|
|
|
|
|
notifications:
|
|
|
|
|
failure_comment:
|
|
|
|
|
message: "tmt tests failed for commit {commit_sha}. @lsm5, @psss, @thrix please check."
|
|
|
|
|
targets:
|
|
|
|
|
- fedora-latest
|
|
|
|
|
fmf_url: https://github.com/teemtee/tmt
|
|
|
|
|
fmf_path: /plans/friends
|
|
|
|
|
fmf_ref: main
|
|
|
|
|
tmt_plan: "/podman"
|
|
|
|
|
|
2023-05-23 09:15:03 -04:00
|
|
|
- job: propose_downstream
|
|
|
|
|
trigger: release
|
|
|
|
|
update_release: false
|
2024-03-22 20:14:27 +05:30
|
|
|
packages: [podman-fedora]
|
2024-09-11 18:13:20 +05:30
|
|
|
dist_git_branches: &fedora_targets
|
2024-08-19 10:42:38 -04:00
|
|
|
- fedora-all
|
2023-05-23 09:15:03 -04:00
|
|
|
|
|
|
|
|
- job: koji_build
|
|
|
|
|
trigger: commit
|
2024-10-08 16:01:57 +05:30
|
|
|
packages: [podman-fedora]
|
2024-09-11 18:09:34 +05:30
|
|
|
sidetag_group: podman-releases
|
2024-09-11 18:13:20 +05:30
|
|
|
dist_git_branches: *fedora_targets
|
2023-05-23 09:15:03 -04:00
|
|
|
|
2024-02-19 19:20:11 +05:30
|
|
|
- job: bodhi_update
|
2024-09-11 18:09:34 +05:30
|
|
|
trigger: koji_build
|
2024-10-08 16:01:57 +05:30
|
|
|
packages: [podman-fedora]
|
2024-09-11 18:09:34 +05:30
|
|
|
sidetag_group: podman-releases
|
|
|
|
|
# Dependencies are not rpm dependencies, but packages that should go in the
|
|
|
|
|
# same bodhi update
|
|
|
|
|
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
|
|
|
|
|
dependencies:
|
|
|
|
|
- buildah
|
|
|
|
|
- containers-common
|
|
|
|
|
- skopeo
|
2024-09-11 18:13:20 +05:30
|
|
|
dist_git_branches: *fedora_targets
|