-
Notifications
You must be signed in to change notification settings - Fork 202
/
.packit.yaml
101 lines (90 loc) · 2.86 KB
/
.packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_tag_template: v{version}
packages:
containers-common-fedora:
downstream_package_name: containers-common
pkg_tool: fedpkg
specfile_path: rpm/containers-common.spec
containers-common-centos:
downstream_package_name: containers-common
pkg_tool: centpkg
specfile_path: rpm/containers-common.spec
containers-common-rhel:
downstream_package_name: containers-common
specfile_path: rpm/containers-common.spec
containers-common-eln:
downstream_package_name: containers-common
specfile_path: rpm/containers-common.spec
actions:
pre-sync: "bash rpm/update-lib-versions.sh"
jobs:
- job: copr_build
trigger: pull_request
packages: [containers-common-fedora]
notifications: &ephemeral_build_failure_notification
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
enable_net: true
targets:
- fedora-all
- job: copr_build
trigger: pull_request
packages: [containers-common-eln]
notifications: *ephemeral_build_failure_notification
enable_net: true
targets:
fedora-eln:
# Need this to fetch go-md2man which is present in koji envs but not by
# default on copr envs. Also helps to avoid bundling go-md2man in
# c/common.
additional_repos:
- https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/
- job: copr_build
trigger: pull_request
packages: [containers-common-centos]
notifications: *ephemeral_build_failure_notification
enable_net: true
targets:
- centos-stream-9
- centos-stream-10
- job: copr_build
trigger: pull_request
packages: [containers-common-rhel]
notifications: *ephemeral_build_failure_notification
enable_net: true
targets:
- epel-9
# Run on commit to main branch
- job: copr_build
trigger: commit
packages: [containers-common-fedora]
notifications:
failure_comment:
message: "podman-next COPR build failed. @containers/packit-build please check."
branch: main
owner: rhcontainerbot
project: podman-next
enable_net: true
- job: propose_downstream
trigger: release
packages: [containers-common-fedora]
dist_git_branches: &fedora_targets
- fedora-all
- job: propose_downstream
trigger: release
packages: [containers-common-centos]
dist_git_branches:
- c10s
# Fedora Koji build
- job: koji_build
trigger: commit
packages: [containers-common-fedora]
sidetag_group: podman-releases
# Dependencies are not rpm dependencies, but packages that should go in the
# same bodhi update
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
dependents:
- podman
dist_git_branches: *fedora_targets