|
5 | 5 | downstream_package_name: buildah |
6 | 6 | upstream_tag_template: v{version} |
7 | 7 |
|
8 | | -packages: |
9 | | - buildah-fedora: |
10 | | - pkg_tool: fedpkg |
11 | | - specfile_path: rpm/buildah.spec |
12 | | - buildah-centos: |
13 | | - pkg_tool: centpkg |
14 | | - specfile_path: rpm/buildah.spec |
15 | | - buildah-eln: |
16 | | - specfile_path: rpm/buildah.spec |
| 8 | +specfile_path: buildah.spec |
17 | 9 |
|
18 | | -srpm_build_deps: |
19 | | - - make |
| 10 | +# Disable automatic merging for Copr builds (and subsequent Testing Farm) |
| 11 | +merge_pr_in_ci: false |
20 | 12 |
|
21 | 13 | jobs: |
22 | 14 | - job: copr_build |
23 | 15 | trigger: pull_request |
24 | | - packages: [buildah-fedora] |
25 | | - notifications: &copr_build_failure_notification |
| 16 | + notifications: &packit_failure_notification |
26 | 17 | failure_comment: |
27 | | - message: "Ephemeral COPR build failed. @containers/packit-build please check." |
28 | | - targets: |
29 | | - - fedora-all-x86_64 |
30 | | - - fedora-all-aarch64 |
| 18 | + message: "Packit jobs failed. @containers/packit-build please check." |
31 | 19 | enable_net: true |
32 | | - |
33 | | - - job: copr_build |
34 | | - trigger: pull_request |
35 | | - packages: [buildah-eln] |
36 | | - notifications: *copr_build_failure_notification |
37 | 20 | targets: |
38 | | - fedora-eln-x86_64: |
39 | | - additional_repos: |
40 | | - - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/" |
41 | | - fedora-eln-aarch64: |
42 | | - additional_repos: |
43 | | - - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/" |
44 | | - enable_net: true |
| 21 | + - epel-10-x86_64 |
| 22 | + - epel-10-aarch64 |
| 23 | + actions: |
| 24 | + post-upstream-clone: "curl -O https://gitlab.com/redhat/centos-stream/rpms/buildah/-/raw/c10s/buildah.spec" |
45 | 25 |
|
46 | 26 | - job: copr_build |
47 | 27 | trigger: pull_request |
48 | | - packages: [buildah-centos] |
49 | | - notifications: *copr_build_failure_notification |
50 | | - targets: |
51 | | - - centos-stream-9-x86_64 |
52 | | - - centos-stream-9-aarch64 |
53 | | - - centos-stream-10-x86_64 |
54 | | - - centos-stream-10-aarch64 |
| 28 | + notifications: *packit_failure_notification |
55 | 29 | enable_net: true |
| 30 | + targets: |
| 31 | + - epel-9-x86_64 |
| 32 | + - epel-9-aarch64 |
| 33 | + actions: |
| 34 | + post-upstream-clone: "curl -O https://gitlab.com/redhat/centos-stream/rpms/buildah/-/raw/c9s/buildah.spec" |
56 | 35 |
|
57 | | - # Run on commit to main branch |
58 | | - - job: copr_build |
59 | | - trigger: commit |
60 | | - packages: [buildah-fedora] |
61 | | - notifications: |
62 | | - failure_comment: |
63 | | - message: "podman-next COPR build failed. @containers/packit-build please check." |
64 | | - branch: main |
65 | | - owner: rhcontainerbot |
66 | | - project: podman-next |
67 | | - enable_net: true |
68 | | - |
69 | | - # Sync to Fedora |
70 | | - - job: propose_downstream |
71 | | - trigger: release |
72 | | - packages: [buildah-fedora] |
73 | | - update_release: false |
74 | | - dist_git_branches: &fedora_targets |
75 | | - - fedora-all |
76 | | - |
77 | | - # Sync to CentOS Stream |
78 | | - - job: propose_downstream |
79 | | - trigger: release |
80 | | - packages: [buildah-centos] |
81 | | - update_release: false |
82 | | - dist_git_branches: |
83 | | - - c10s |
84 | | - |
85 | | - # Fedora Koji build |
86 | | - - job: koji_build |
87 | | - trigger: commit |
88 | | - packages: [buildah-fedora] |
89 | | - sidetag_group: podman-releases |
90 | | - # Dependents are not rpm dependencies, but the package whose bodhi update |
91 | | - # should include this package. |
92 | | - # Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages |
93 | | - dependents: |
94 | | - - podman |
95 | | - dist_git_branches: *fedora_targets |
| 36 | + # Tests for RHEL |
| 37 | + - job: tests |
| 38 | + trigger: pull_request |
| 39 | + use_internal_tf: true |
| 40 | + notifications: *packit_failure_notification |
| 41 | + targets: &packit_test_targets |
| 42 | + epel-10-x86_64: |
| 43 | + distros: [RHEL-10-Nightly,RHEL-10.0-Nightly] |
| 44 | + epel-10-aarch64: |
| 45 | + distros: [RHEL-10-Nightly,RHEL-10.0-Nightly] |
| 46 | + epel-9-x86_64: |
| 47 | + distros: [RHEL-9-Nightly,RHEL-9.6.0-Nightly] |
| 48 | + epel-9-aarch64: |
| 49 | + distros: [RHEL-9-Nightly,RHEL-9.6.0-Nightly] |
| 50 | + tmt_plan: "/plans/system" |
| 51 | + identifier: "rpm" |
| 52 | + |
| 53 | + - job: tests |
| 54 | + trigger: pull_request |
| 55 | + use_internal_tf: true |
| 56 | + notifications: *packit_failure_notification |
| 57 | + skip_build: true |
| 58 | + targets: *packit_test_targets |
| 59 | + tmt_plan: "/plans/no-rpm" |
| 60 | + identifier: "no-rpm" |
0 commit comments