2023-07-20 22:09:02 +00:00
|
|
|
---
|
|
|
|
# See the documentation for more information:
|
|
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
|
2024-04-18 13:46:55 +00:00
|
|
|
downstream_package_name: podman
|
2023-07-20 22:09:02 +00:00
|
|
|
upstream_tag_template: v{version}
|
|
|
|
|
2024-04-18 13:46:55 +00:00
|
|
|
packages:
|
|
|
|
podman-fedora:
|
|
|
|
pkg_tool: fedpkg
|
|
|
|
specfile_path: rpm/podman.spec
|
|
|
|
podman-centos:
|
|
|
|
pkg_tool: centpkg
|
|
|
|
specfile_path: rpm/podman.spec
|
2024-08-05 06:10:57 +00:00
|
|
|
podman-rhel:
|
|
|
|
specfile_path: rpm/podman.spec
|
2024-04-18 13:46:55 +00:00
|
|
|
|
2023-08-28 19:16:12 +00:00
|
|
|
srpm_build_deps:
|
2023-09-27 18:03:01 +00:00
|
|
|
- git-archive-all
|
2023-08-28 19:16:12 +00:00
|
|
|
- make
|
|
|
|
|
2023-09-27 18:03:01 +00:00
|
|
|
actions:
|
|
|
|
fix-spec-file:
|
|
|
|
- "bash .packit.sh"
|
|
|
|
|
2023-07-20 22:09:02 +00:00
|
|
|
jobs:
|
2023-08-28 19:16:12 +00:00
|
|
|
- job: copr_build
|
2023-07-20 22:09:02 +00:00
|
|
|
trigger: pull_request
|
2024-04-18 13:46:55 +00:00
|
|
|
packages: [podman-fedora]
|
2024-08-05 06:10:57 +00:00
|
|
|
notifications: &packit_build_failure_notification
|
2023-09-27 18:03:01 +00:00
|
|
|
failure_comment:
|
|
|
|
message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
2023-07-20 22:09:02 +00:00
|
|
|
enable_net: true
|
2023-08-28 19:16:12 +00:00
|
|
|
targets:
|
2024-08-05 06:10:57 +00:00
|
|
|
fedora-all-x86_64: {}
|
|
|
|
fedora-all-aarch64: {}
|
|
|
|
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-04-18 13:46:55 +00:00
|
|
|
|
|
|
|
- job: copr_build
|
|
|
|
trigger: pull_request
|
|
|
|
packages: [podman-centos]
|
2024-08-05 06:10:57 +00:00
|
|
|
notifications: *packit_build_failure_notification
|
2024-04-18 13:46:55 +00:00
|
|
|
enable_net: true
|
|
|
|
targets:
|
2024-08-05 06:10:57 +00:00
|
|
|
- centos-stream-9-x86_64
|
|
|
|
- centos-stream-9-aarch64
|
2024-05-31 08:36:43 +00:00
|
|
|
- centos-stream-10-x86_64
|
|
|
|
- centos-stream-10-aarch64
|
2024-08-05 06:10:57 +00:00
|
|
|
|
|
|
|
- job: copr_build
|
|
|
|
trigger: pull_request
|
|
|
|
packages: [podman-rhel]
|
|
|
|
notifications: *packit_build_failure_notification
|
|
|
|
enable_net: true
|
|
|
|
targets:
|
|
|
|
- epel-9-x86_64
|
|
|
|
- epel-9-aarch64
|
2023-07-20 22:09:02 +00:00
|
|
|
|
2023-08-28 19:16:12 +00:00
|
|
|
# Run on commit to main branch
|
|
|
|
- job: copr_build
|
2023-07-20 22:09:02 +00:00
|
|
|
trigger: commit
|
2024-05-31 08:36:43 +00:00
|
|
|
packages: [podman-fedora]
|
2023-09-27 18:03:01 +00:00
|
|
|
notifications:
|
|
|
|
failure_comment:
|
|
|
|
message: "podman-next COPR build failed. @containers/packit-build please check."
|
2023-07-20 22:09:02 +00:00
|
|
|
branch: main
|
2023-08-28 19:16:12 +00:00
|
|
|
owner: rhcontainerbot
|
2023-07-20 22:09:02 +00:00
|
|
|
project: podman-next
|
2023-08-28 19:16:12 +00:00
|
|
|
enable_net: true
|
|
|
|
|
|
|
|
- job: tests
|
|
|
|
identifier: cockpit-revdeps
|
|
|
|
trigger: pull_request
|
2024-04-18 13:46:55 +00:00
|
|
|
packages: [podman-fedora]
|
2023-11-27 19:53:07 +00:00
|
|
|
notifications:
|
|
|
|
failure_comment:
|
|
|
|
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
|
2023-08-28 19:16:12 +00:00
|
|
|
targets:
|
|
|
|
- fedora-latest-stable
|
|
|
|
- fedora-development
|
|
|
|
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"
|
2023-07-20 22:09:02 +00:00
|
|
|
|
|
|
|
- job: propose_downstream
|
|
|
|
trigger: release
|
|
|
|
update_release: false
|
2024-04-18 13:46:55 +00:00
|
|
|
packages: [podman-fedora]
|
2023-07-20 22:09:02 +00:00
|
|
|
dist_git_branches:
|
2024-08-22 08:12:23 +00:00
|
|
|
- fedora-all
|
2023-07-20 22:09:02 +00:00
|
|
|
|
2024-04-18 13:46:55 +00:00
|
|
|
- job: propose_downstream
|
|
|
|
trigger: release
|
|
|
|
update_release: false
|
|
|
|
packages: [podman-centos]
|
|
|
|
dist_git_branches:
|
|
|
|
- c10s
|
|
|
|
|
2023-07-20 22:09:02 +00:00
|
|
|
- job: koji_build
|
|
|
|
trigger: commit
|
2024-04-18 13:46:55 +00:00
|
|
|
packages: [podman-fedora]
|
2023-07-20 22:09:02 +00:00
|
|
|
dist_git_branches:
|
2024-04-18 13:46:55 +00:00
|
|
|
- fedora-all
|
2023-07-20 22:09:02 +00:00
|
|
|
|
2024-04-18 13:46:55 +00:00
|
|
|
- job: bodhi_update
|
|
|
|
trigger: commit
|
|
|
|
packages: [podman-fedora]
|
|
|
|
dist_git_branches:
|
|
|
|
- fedora-branched # rawhide updates are created automatically
|