5
5
downstream_package_name : buildah
6
6
upstream_tag_template : v{version}
7
7
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 : tests/tmt/
21
+ dest : tests/tmt/
22
+ delete : true
23
+ mkpath : true
24
+ - src : .fmf/
25
+ dest : .fmf/
26
+ delete : true
27
+ - .packit.yaml
28
+
8
29
packages :
9
30
buildah-fedora :
10
31
pkg_tool : fedpkg
@@ -25,13 +46,13 @@ jobs:
25
46
notifications : &copr_build_failure_notification
26
47
failure_comment :
27
48
message : " Ephemeral COPR build failed. @containers/packit-build please check."
28
- targets :
49
+ targets : &fedora_copr_targets
29
50
- fedora-all-x86_64
30
51
- fedora-all-aarch64
31
52
enable_net : true
32
53
33
54
- job : copr_build
34
- trigger : pull_request
55
+ trigger : ignore
35
56
packages : [buildah-eln]
36
57
notifications : *copr_build_failure_notification
37
58
targets :
47
68
trigger : pull_request
48
69
packages : [buildah-centos]
49
70
notifications : *copr_build_failure_notification
50
- targets :
71
+ targets : ¢os_copr_targets
51
72
- centos-stream-9-x86_64
52
73
- centos-stream-9-aarch64
53
74
- centos-stream-10-x86_64
66
87
project : podman-next
67
88
enable_net : true
68
89
90
+ - job : tests
91
+ trigger : pull_request
92
+ packages : [buildah-fedora]
93
+ targets : *fedora_copr_targets
94
+ require : &dev_tests
95
+ label :
96
+ absent :
97
+ - release
98
+ tf_extra_params :
99
+ environments :
100
+ - artifacts :
101
+ - type : repository-file
102
+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
103
+ identifier : " dev"
104
+
105
+ - job : tests
106
+ trigger : pull_request
107
+ packages : [buildah-fedora]
108
+ targets : *fedora_copr_targets
109
+ require : &release_tests
110
+ label :
111
+ present :
112
+ - release
113
+ preserve_project : true
114
+ identifier : " release"
115
+
116
+ # FIXME: Enable centos stream tests after containers-common is fixed
117
+ # FIXME: centos stream 10 currently also lacks bats
118
+ # https://bugzilla.redhat.com/show_bug.cgi?id=2329315
119
+ - job : tests
120
+ trigger : pull_request
121
+ packages : [buildah-centos]
122
+ targets : *centos_copr_targets
123
+ require : *dev_tests
124
+ tf_extra_params :
125
+ environments :
126
+ - artifacts :
127
+ - type : repository-file
128
+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
129
+ identifier : " dev"
130
+
131
+ - job : tests
132
+ trigger : pull_request
133
+ packages : [buildah-centos]
134
+ targets : *centos_copr_targets
135
+ require : *release_tests
136
+ preserve_project : true
137
+ identifier : " release"
138
+
69
139
# Sync to Fedora
70
140
- job : propose_downstream
71
141
trigger : release
0 commit comments