|
2 | 2 | # See the documentation for more information:
|
3 | 3 | # https://packit.dev/docs/configuration/
|
4 | 4 |
|
5 |
| -downstream_package_name: podman |
6 |
| -upstream_tag_template: v{version} |
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 |
17 |
| - |
18 |
| -srpm_build_deps: |
19 |
| - - git-archive-all |
20 |
| - - make |
21 |
| - |
22 |
| -actions: |
23 |
| - fix-spec-file: |
24 |
| - - "bash .packit.sh" |
25 |
| - |
26 | 5 | jobs:
|
27 |
| - - job: copr_build |
| 6 | + - job: tests |
28 | 7 | trigger: pull_request
|
29 |
| - packages: [podman-fedora] |
30 |
| - notifications: &packit_build_failure_notification |
| 8 | + skip_build: true |
| 9 | + use_internal_tf: true |
| 10 | + notifications: &packit_failure_notification |
31 | 11 | failure_comment:
|
32 |
| - message: "Ephemeral COPR build failed. @containers/packit-build please check." |
33 |
| - enable_net: true |
34 |
| - targets: |
35 |
| - - fedora-all-x86_64 |
36 |
| - - fedora-all-aarch64 |
| 12 | + message: "Packit jobs failed. @containers/packit-build please check." |
| 13 | + targets: &test_targets |
| 14 | + epel-10-x86_64: |
| 15 | + distros: [RHEL-10.0-Nightly] |
| 16 | + epel-10-aarch64: |
| 17 | + distros: [RHEL-10.0-Nightly] |
| 18 | + epel-9-x86_64: |
| 19 | + distros: [RHEL-9.6.0-Nightly] |
| 20 | + epel-9-aarch64: |
| 21 | + distros: [RHEL-9.6.0-Nightly] |
| 22 | + tmt_plan: "/plans/system/root-local" |
| 23 | + identifier: "sys-local-root" |
37 | 24 |
|
38 |
| - - job: copr_build |
| 25 | + - job: tests |
39 | 26 | trigger: pull_request
|
40 |
| - packages: [podman-eln] |
41 |
| - notifications: *packit_build_failure_notification |
42 |
| - enable_net: true |
43 |
| - 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/" |
| 27 | + skip_build: true |
| 28 | + use_internal_tf: true |
| 29 | + notifications: *packit_failure_notification |
| 30 | + targets: *test_targets |
| 31 | + tmt_plan: "/plans/system/rootless-local" |
| 32 | + identifier: "sys-local-rootless" |
50 | 33 |
|
51 |
| - - job: copr_build |
| 34 | + - job: tests |
52 | 35 | 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 |
| 36 | + skip_build: true |
| 37 | + use_internal_tf: true |
| 38 | + notifications: *packit_failure_notification |
| 39 | + targets: *test_targets |
| 40 | + tmt_plan: "/plans/system/root-remote" |
| 41 | + identifier: "sys-remote-root" |
73 | 42 |
|
74 | 43 | - job: tests
|
75 |
| - identifier: cockpit-revdeps |
76 | 44 | 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 |
| 45 | + skip_build: true |
| 46 | + use_internal_tf: true |
| 47 | + notifications: *packit_failure_notification |
| 48 | + targets: *test_targets |
| 49 | + tmt_plan: "/plans/system/rootless-remote" |
| 50 | + identifier: "sys-remote-rootless" |
0 commit comments