|
5 | 5 | downstream_package_name: podman
|
6 | 6 | upstream_tag_template: v{version}
|
7 | 7 |
|
8 |
| -packages: |
9 |
| - podman-fedora: |
10 |
| - pkg_tool: fedpkg |
11 |
| - specfile_path: rpm/podman.spec |
12 |
| - podman-centos: |
13 |
| - pkg_tool: centpkg |
14 |
| - specfile_path: rpm/podman.spec |
15 |
| - podman-eln: |
16 |
| - specfile_path: rpm/podman.spec |
| 8 | +specfile_path: podman.spec |
17 | 9 |
|
18 |
| -srpm_build_deps: |
19 |
| - - git-archive-all |
20 |
| - - make |
| 10 | +# Disable automatic merging for Copr builds (and subsequent Testing Farm) |
| 11 | +merge_pr_in_ci: false |
21 | 12 |
|
22 | 13 | actions:
|
23 |
| - fix-spec-file: |
24 |
| - - "bash .packit.sh" |
| 14 | + fix-spec-file: "bash .packit-copr-rpm.sh" |
25 | 15 |
|
26 | 16 | jobs:
|
27 | 17 | - job: copr_build
|
28 | 18 | trigger: pull_request
|
29 |
| - packages: [podman-fedora] |
30 |
| - notifications: &packit_build_failure_notification |
| 19 | + notifications: &packit_failure_notification |
31 | 20 | failure_comment:
|
32 |
| - message: "Ephemeral COPR build failed. @containers/packit-build please check." |
| 21 | + message: "Packit jobs failed. @containers/packit-build please check." |
33 | 22 | enable_net: true
|
34 | 23 | targets:
|
35 |
| - - fedora-all-x86_64 |
36 |
| - - fedora-all-aarch64 |
| 24 | + - epel-10-x86_64 |
| 25 | + - epel-10-aarch64 |
| 26 | + actions: |
| 27 | + post-upstream-clone: "curl --fail -O https://gitlab.com/redhat/centos-stream/rpms/podman/-/raw/c10s/podman.spec" |
37 | 28 |
|
38 | 29 | - job: copr_build
|
39 | 30 | trigger: pull_request
|
40 |
| - packages: [podman-eln] |
41 |
| - notifications: *packit_build_failure_notification |
| 31 | + notifications: *packit_failure_notification |
42 | 32 | enable_net: true
|
43 | 33 | targets:
|
44 |
| - fedora-eln-x86_64: |
45 |
| - additional_repos: |
46 |
| - - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/" |
47 |
| - fedora-eln-aarch64: |
48 |
| - additional_repos: |
49 |
| - - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/" |
| 34 | + - epel-9-x86_64 |
| 35 | + - epel-9-aarch64 |
| 36 | + actions: |
| 37 | + post-upstream-clone: "curl --fail -O https://gitlab.com/redhat/centos-stream/rpms/podman/-/raw/c9s/podman.spec" |
50 | 38 |
|
51 |
| - - job: copr_build |
| 39 | + - job: tests |
52 | 40 | trigger: pull_request
|
53 |
| - packages: [podman-centos] |
54 |
| - notifications: *packit_build_failure_notification |
55 |
| - enable_net: true |
56 |
| - targets: |
57 |
| - - centos-stream-9-x86_64 |
58 |
| - - centos-stream-9-aarch64 |
59 |
| - - centos-stream-10-x86_64 |
60 |
| - - centos-stream-10-aarch64 |
61 |
| - |
62 |
| - # Run on commit to main branch |
63 |
| - - job: copr_build |
64 |
| - trigger: commit |
65 |
| - packages: [podman-fedora] |
66 |
| - notifications: |
67 |
| - failure_comment: |
68 |
| - message: "podman-next COPR build failed. @containers/packit-build please check." |
69 |
| - branch: main |
70 |
| - owner: rhcontainerbot |
71 |
| - project: podman-next |
72 |
| - enable_net: true |
| 41 | + use_internal_tf: true |
| 42 | + notifications: *packit_failure_notification |
| 43 | + targets: &packit_test_targets |
| 44 | + epel-10-x86_64: |
| 45 | + distros: [RHEL-10-Nightly,RHEL-10.0-Nightly] |
| 46 | + epel-10-aarch64: |
| 47 | + distros: [RHEL-10-Nightly,RHEL-10.0-Nightly] |
| 48 | + epel-9-x86_64: |
| 49 | + distros: [RHEL-9-Nightly,RHEL-9.6.0-Nightly] |
| 50 | + epel-9-aarch64: |
| 51 | + distros: [RHEL-9-Nightly,RHEL-9.6.0-Nightly] |
| 52 | + tmt_plan: "/plans/system" |
| 53 | + identifier: "system" |
73 | 54 |
|
74 | 55 | - job: tests
|
75 |
| - identifier: cockpit-revdeps |
76 | 56 | trigger: pull_request
|
77 |
| - packages: [podman-fedora] |
78 |
| - notifications: |
79 |
| - failure_comment: |
80 |
| - message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check." |
81 |
| - targets: |
82 |
| - - fedora-latest-stable |
83 |
| - - fedora-development |
84 |
| - tf_extra_params: |
85 |
| - environments: |
86 |
| - - artifacts: |
87 |
| - - type: repository-file |
88 |
| - id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo |
89 |
| - - type: repository-file |
90 |
| - id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo |
91 |
| - tmt: |
92 |
| - context: |
93 |
| - revdeps: "yes" |
94 |
| - |
95 |
| - - job: propose_downstream |
96 |
| - trigger: release |
97 |
| - update_release: false |
98 |
| - packages: [podman-fedora] |
99 |
| - dist_git_branches: &fedora_targets |
100 |
| - - fedora-all |
101 |
| - |
102 |
| - - job: propose_downstream |
103 |
| - trigger: release |
104 |
| - update_release: false |
105 |
| - packages: [podman-centos] |
106 |
| - dist_git_branches: |
107 |
| - - c10s |
108 |
| - |
109 |
| - - job: koji_build |
110 |
| - trigger: commit |
111 |
| - packages: [podman-fedora] |
112 |
| - sidetag_group: podman-releases |
113 |
| - dist_git_branches: *fedora_targets |
114 |
| - |
115 |
| - - job: bodhi_update |
116 |
| - trigger: koji_build |
117 |
| - packages: [podman-fedora] |
118 |
| - sidetag_group: podman-releases |
119 |
| - # Dependencies are not rpm dependencies, but packages that should go in the |
120 |
| - # same bodhi update |
121 |
| - # Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages |
122 |
| - dependencies: |
123 |
| - - buildah |
124 |
| - - containers-common |
125 |
| - - skopeo |
126 |
| - dist_git_branches: *fedora_targets |
| 57 | + use_internal_tf: true |
| 58 | + notifications: *packit_failure_notification |
| 59 | + targets: *packit_test_targets |
| 60 | + tmt_plan: "/plans/e2e" |
| 61 | + identifier: "e2e" |
0 commit comments