Skip to content

Commit 8650348

Browse files
Merge pull request #23119 from lsm5/packit-rhel-centos-separation
[skip-ci] Packit: split rhel and centos-stream jobs
2 parents f3a4f07 + 926e6dd commit 8650348

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

.packit.yaml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ packages:
1212
podman-centos:
1313
pkg_tool: centpkg
1414
specfile_path: rpm/podman.spec
15+
podman-rhel:
16+
specfile_path: rpm/podman.spec
1517

1618
srpm_build_deps:
1719
- git-archive-all
@@ -25,32 +27,39 @@ jobs:
2527
- job: copr_build
2628
trigger: pull_request
2729
packages: [podman-fedora]
28-
notifications:
30+
notifications: &packit_build_failure_notification
2931
failure_comment:
3032
message: "Ephemeral COPR build failed. @containers/packit-build please check."
3133
enable_net: true
3234
targets:
33-
- fedora-all-x86_64
34-
- fedora-all-aarch64
35-
- fedora-eln-x86_64
36-
- fedora-eln-aarch64
37-
additional_repos:
38-
- "copr://rhcontainerbot/podman-next"
35+
fedora-all-x86_64: {}
36+
fedora-all-aarch64: {}
37+
fedora-eln-x86_64:
38+
additional_repos:
39+
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
40+
fedora-eln-aarch64:
41+
additional_repos:
42+
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
3943

4044
- job: copr_build
4145
trigger: pull_request
4246
packages: [podman-centos]
43-
notifications:
44-
failure_comment:
45-
message: "Ephemeral COPR build failed. @containers/packit-build please check."
47+
notifications: *packit_build_failure_notification
4648
enable_net: true
4749
targets:
48-
- epel-9-x86_64
49-
- epel-9-aarch64
50+
- centos-stream-9-x86_64
51+
- centos-stream-9-aarch64
5052
- centos-stream-10-x86_64
5153
- centos-stream-10-aarch64
52-
additional_repos:
53-
- "copr://rhcontainerbot/podman-next"
54+
55+
- job: copr_build
56+
trigger: pull_request
57+
packages: [podman-rhel]
58+
notifications: *packit_build_failure_notification
59+
enable_net: true
60+
targets:
61+
- epel-9-x86_64
62+
- epel-9-aarch64
5463

5564
# Run on commit to main branch
5665
- job: copr_build

0 commit comments

Comments
 (0)