diff options
author | Lokesh Mandvekar <lsm5@redhat.com> | 2024-06-27 08:36:13 -0400 |
---|---|---|
committer | Lokesh Mandvekar <lsm5@redhat.com> | 2024-06-27 08:36:13 -0400 |
commit | 926e6dd0aa051bb9484015f58660f0f5171e1ce2 (patch) | |
tree | 13ea7178f1492943c44b1cae0dca530ee6876189 /.packit.yaml | |
parent | 6abdda6d7b1ccbf45bb6f5e64fd93a5d4e46dc31 (diff) |
[skip-ci] Packit: split rhel and centos-stream jobs
This allows centos stream builds to run for outside contributors without
write access to the repos.
This commit also include centos-stream-9 build jobs so we can compare
both centos-stream-9 and rhel-9 builds if required. This will also be
useful when we want to run tests on both centos stream and rhel envs
using their respective builds.
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
Diffstat (limited to '.packit.yaml')
-rw-r--r-- | .packit.yaml | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/.packit.yaml b/.packit.yaml index 0d3eacad7..77833712b 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -12,6 +12,8 @@ packages: podman-centos: pkg_tool: centpkg specfile_path: rpm/podman.spec + podman-rhel: + specfile_path: rpm/podman.spec srpm_build_deps: - git-archive-all @@ -25,32 +27,39 @@ jobs: - job: copr_build trigger: pull_request packages: [podman-fedora] - notifications: + notifications: &packit_build_failure_notification failure_comment: message: "Ephemeral COPR build failed. @containers/packit-build please check." enable_net: true targets: - - fedora-all-x86_64 - - fedora-all-aarch64 - - fedora-eln-x86_64 - - fedora-eln-aarch64 - additional_repos: - - "copr://rhcontainerbot/podman-next" + 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/" - job: copr_build trigger: pull_request packages: [podman-centos] - notifications: - failure_comment: - message: "Ephemeral COPR build failed. @containers/packit-build please check." + notifications: *packit_build_failure_notification enable_net: true 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 - additional_repos: - - "copr://rhcontainerbot/podman-next" + + - 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 # Run on commit to main branch - job: copr_build |