Skip to content

Commit e823b71

Browse files
committed
Packit: update config for RHEL
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent b043501 commit e823b71

File tree

1 file changed

+15
-133
lines changed

1 file changed

+15
-133
lines changed

.packit.yaml

Lines changed: 15 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -5,159 +5,41 @@
55
downstream_package_name: podman
66
upstream_tag_template: v{version}
77

8-
# These files get synced from upstream to downstream (Fedora / CentOS Stream) on every
9-
# propose-downstream job. This is done so tests maintained upstream can be run
10-
# downstream in Zuul CI and Bodhi.
11-
# Ref: https://packit.dev/docs/configuration#files_to_sync
12-
files_to_sync:
13-
- src: rpm/gating.yaml
14-
dest: gating.yaml
15-
delete: true
16-
- src: plans/
17-
dest: plans/
18-
delete: true
19-
mkpath: true
20-
- src: test/tmt/
21-
dest: test/tmt/
22-
delete: true
23-
mkpath: true
24-
- src: .fmf/
25-
dest: .fmf/
26-
delete: true
27-
- .packit.yaml
28-
29-
packages:
30-
podman-fedora:
31-
pkg_tool: fedpkg
32-
specfile_path: rpm/podman.spec
33-
podman-centos:
34-
pkg_tool: centpkg
35-
specfile_path: rpm/podman.spec
36-
podman-eln:
37-
specfile_path: rpm/podman.spec
8+
specfile_path: rpm/podman.spec
389

3910
srpm_build_deps:
4011
- git-archive-all
4112
- make
4213

43-
actions:
44-
fix-spec-file:
45-
- "bash .packit.sh"
14+
#actions:
15+
# fix-spec-file:
16+
# - "bash .packit.sh"
4617

4718
jobs:
4819
- job: copr_build
4920
trigger: pull_request
50-
packages: [podman-fedora]
5121
notifications: &packit_build_failure_notification
5222
failure_comment:
5323
message: "Ephemeral COPR build failed. @containers/packit-build please check."
5424
enable_net: true
5525
targets:
56-
- fedora-all-x86_64
57-
- fedora-all-aarch64
58-
59-
- job: copr_build
60-
trigger: pull_request
61-
packages: [podman-eln]
62-
notifications: *packit_build_failure_notification
63-
enable_net: true
64-
targets:
65-
fedora-eln-x86_64:
66-
additional_repos:
67-
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
68-
fedora-eln-aarch64:
69-
additional_repos:
70-
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
71-
72-
- job: copr_build
73-
trigger: pull_request
74-
packages: [podman-centos]
75-
notifications: *packit_build_failure_notification
76-
enable_net: true
77-
targets:
78-
- centos-stream-9-x86_64
79-
- centos-stream-9-aarch64
80-
- centos-stream-10-x86_64
81-
- centos-stream-10-aarch64
82-
83-
# Run on commit to main branch
84-
- job: copr_build
85-
trigger: commit
86-
packages: [podman-fedora]
87-
notifications:
88-
failure_comment:
89-
message: "podman-next COPR build failed. @containers/packit-build please check."
90-
branch: main
91-
owner: rhcontainerbot
92-
project: podman-next
93-
enable_net: true
94-
95-
# Tests on Fedora
96-
- job: tests
97-
trigger: pull_request
98-
packages: [podman-fedora]
99-
notifications: *packit_generic_failure_notification
100-
targets:
101-
- fedora-rawhide
102-
- fedora-42
103-
- fedora-41
104-
tmt_plan: "/plans/system/*"
105-
tf_extra_params:
106-
environments:
107-
- artifacts:
108-
- type: repository-file
109-
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
26+
- epel-10-x86_64
27+
- epel-10-aarch64
11028

29+
# Tests for RHEL
11130
- job: tests
112-
identifier: cockpit-revdeps
11331
trigger: pull_request
114-
packages: [podman-fedora]
115-
notifications:
32+
use_internal_tf: true
33+
notifications: &packit_test_failure_notification
11634
failure_comment:
117-
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
35+
message: "Tests failed. @containers/packit-build please check."
11836
targets:
119-
- fedora-latest-stable
120-
- fedora-development
37+
epel-10-x86_64:
38+
distros: [RHEL-10-Nightly]
39+
epel-10-aarch64:
40+
distros: [RHEL-10-Nightly]
12141
tf_extra_params:
12242
environments:
12343
- artifacts:
12444
- type: repository-file
125-
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
126-
- type: repository-file
127-
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
128-
tmt:
129-
context:
130-
revdeps: "yes"
131-
132-
- job: propose_downstream
133-
trigger: release
134-
update_release: false
135-
packages: [podman-fedora]
136-
dist_git_branches: &fedora_targets
137-
- fedora-all
138-
139-
- job: propose_downstream
140-
trigger: release
141-
update_release: false
142-
packages: [podman-centos]
143-
dist_git_branches:
144-
- c10s
145-
146-
- job: koji_build
147-
trigger: commit
148-
packages: [podman-fedora]
149-
sidetag_group: podman-releases
150-
dist_git_branches: *fedora_targets
151-
152-
- job: bodhi_update
153-
trigger: koji_build
154-
packages: [podman-fedora]
155-
sidetag_group: podman-releases
156-
# Dependencies are not rpm dependencies, but packages that should go in the
157-
# same bodhi update
158-
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
159-
dependencies:
160-
- buildah
161-
- containers-common
162-
- skopeo
163-
dist_git_branches: *fedora_targets
45+
id: https://src.fedoraproject.org/rpms/epel-release/raw/epel$releasever/f/epel.repo

0 commit comments

Comments
 (0)