| |
@@ -2,12 +2,22 @@
|
| |
# See the documentation for more information:
|
| |
# https://packit.dev/docs/configuration/
|
| |
|
| |
- specfile_path: rpm/crun.spec
|
| |
+ downstream_package_name: crun
|
| |
+
|
| |
+ packages:
|
| |
+ crun-fedora:
|
| |
+ pkg_tool: fedpkg
|
| |
+ specfile_path: rpm/crun.spec
|
| |
+ crun-centos:
|
| |
+ pkg_tool: centpkg
|
| |
+ specfile_path: rpm/crun.spec
|
| |
|
| |
srpm_build_deps:
|
| |
- git-archive-all
|
| |
- make
|
| |
+
|
| |
actions:
|
| |
+ # This action runs only on copr build jobs
|
| |
create-archive:
|
| |
- "git-archive-all -v --force-submodules rpm/crun-HEAD.tar.xz"
|
| |
- bash -c "ls -1 rpm/crun-HEAD.tar.xz"
|
| |
@@ -15,7 +25,8 @@
|
| |
jobs:
|
| |
- job: copr_build
|
| |
trigger: pull_request
|
| |
- notifications:
|
| |
+ packages: [crun-fedora]
|
| |
+ notifications: &copr_build_failure_notification
|
| |
failure_comment:
|
| |
message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
| |
targets:
|
| |
@@ -23,12 +34,18 @@
|
| |
- fedora-all-aarch64
|
| |
- fedora-eln-x86_64
|
| |
- fedora-eln-aarch64
|
| |
- - centos-stream+epel-next-8-x86_64
|
| |
- - centos-stream+epel-next-8-aarch64
|
| |
- - centos-stream+epel-next-9-x86_64
|
| |
- - centos-stream+epel-next-9-aarch64
|
| |
- additional_repos:
|
| |
- - "copr://rhcontainerbot/podman-next"
|
| |
+
|
| |
+ - job: copr_build
|
| |
+ trigger: pull_request
|
| |
+ packages: [crun-centos]
|
| |
+ notifications: *copr_build_failure_notification
|
| |
+ targets:
|
| |
+ - epel-9-x86_64
|
| |
+ - epel-9-aarch64
|
| |
+ - centos-stream-9-x86_64
|
| |
+ - centos-stream-9-aarch64
|
| |
+ - centos-stream-10-x86_64
|
| |
+ - centos-stream-10-aarch64
|
| |
|
| |
# Run on commit to main branch
|
| |
- job: copr_build
|
| |
@@ -40,12 +57,68 @@
|
| |
owner: rhcontainerbot
|
| |
project: podman-next
|
| |
|
| |
+ # Podman system tests for Fedora and CentOS Stream
|
| |
+ - job: tests
|
| |
+ trigger: pull_request
|
| |
+ packages: [crun-fedora]
|
| |
+ notifications: &podman_system_test_fail_notification
|
| |
+ failure_comment:
|
| |
+ message: "podman system tests failed. @containers/packit-build please check."
|
| |
+ targets:
|
| |
+ - fedora-all-x86_64
|
| |
+ - fedora-all-aarch64
|
| |
+ identifier: podman_system_test_fedora
|
| |
+ tmt_plan: "/plans/podman_system_test"
|
| |
+
|
| |
+ # Podman system tests for Fedora and CentOS Stream
|
| |
+ - job: tests
|
| |
+ trigger: pull_request
|
| |
+ packages: [crun-centos]
|
| |
+ notifications: *podman_system_test_fail_notification
|
| |
+ targets:
|
| |
+ - centos-stream-9-x86_64
|
| |
+ - centos-stream-9-aarch64
|
| |
+ # TODO: Enable cs10 tests after netavark has finished defaulting to
|
| |
+ # nftables
|
| |
+ #- centos-stream-10-x86_64
|
| |
+ #- centos-stream-10-aarch64
|
| |
+ identifier: podman_system_test_centos
|
| |
+ tmt_plan: "/plans/podman_system_test"
|
| |
+
|
| |
+ # Podman system tests for RHEL
|
| |
+ - job: tests
|
| |
+ trigger: pull_request
|
| |
+ packages: [crun-centos]
|
| |
+ use_internal_tf: true
|
| |
+ notifications: *podman_system_test_fail_notification
|
| |
+ targets:
|
| |
+ epel-9-x86_64:
|
| |
+ distros: [RHEL-9.4.0-Nightly,RHEL-9-Nightly]
|
| |
+ epel-9-aarch64:
|
| |
+ distros: [RHEL-9.4.0-Nightly,RHEL-9-Nightly]
|
| |
+ # TODO: Enable cs10 tests after netavark has finished defaulting to
|
| |
+ # nftables
|
| |
+ #centos-stream-10-x86_64:
|
| |
+ # distros: [RHEL-10-Beta-Nightly]
|
| |
+ #centos-stream-10-aarch64:
|
| |
+ # distros: [RHEL-10-Beta-Nightly]
|
| |
+ identifier: podman_system_test_internal
|
| |
+ tmt_plan: "/plans/podman_system_test"
|
| |
+
|
| |
- job: propose_downstream
|
| |
trigger: release
|
| |
+ packages: [crun-fedora]
|
| |
update_release: false
|
| |
dist_git_branches:
|
| |
- fedora-all
|
| |
|
| |
+ - job: propose_downstream
|
| |
+ trigger: release
|
| |
+ packages: [crun-centos]
|
| |
+ update_release: false
|
| |
+ dist_git_branches:
|
| |
+ - c10s
|
| |
+
|
| |
- job: koji_build
|
| |
trigger: commit
|
| |
dist_git_branches:
|
| |
Upstream tag: 1.15
Upstream commit: e6eacaf4
If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):
Alternatively, if you already have the package repository cloned, you can just fetch the Packit's fork:
If you have the
koji_build
job configured as well, make sure to configure theallowed_pr_authors
and/orallowed_committers
(see the docs) since by default, Packit reacts only to its own PRs.Before pushing builds/updates, please remember to check the new version against the packaging guidelines.
For example, please:
:exclamation: Changed default for the changelog entry generated by Packit
We would like to bring to your attention a recent update regarding the default changelog entry generated by Packit during release syncing. Going forward, the default changelog entry will be generated as follows:
followed by a Bugzilla reference if thereis an open bug about a new upstream release.
This aligns with the Fedora Packaging Guidelines and has been agreed upon in this discussion. If you prefer a different behaviour, you can override this default in your configuration, e.g. by using custom command(s) in
changelog-entry
action (see example).