Commit a60e5f6
ci: support testing from brew builds
Add support for installing go-fdo-client/go-fdo-server RPMs from an
internal brew build in test/rpm and test/bootc, in addition to the
existing COPR/Packit/local-build paths.
Set BREW_CLIENT_RPMS_URL / BREW_SERVER_RPMS_URL to a build's
version/release directory in brew to install the client/server RPMs
straight from an internal brew server. Self-signed certs and unsigned
builds are expected on internal brew servers, so --nogpgcheck
--setopt=sslverify=false is used intentionally.
rpms_from_brew_url() (test/ci/utils.sh) lists the RPM URLs actually
published under a brew build's ${arch}/ and noarch/ directories,
rather than hardcoding each sub-package's name, so it doesn't need to
be kept in sync whenever brew's package layout changes.
test/bootc also recognizes rhel-10* as a base image (overridable via
BOOTC_BASE_IMAGE) and generates a RHEL nightly-compose repo file at
runtime when DOWNLOAD_NODE is set, so the container build can reach
RHEL packages while installing go-fdo-client.
Assisted-by: Claude (claude-sonnet-5)
Signed-off-by: Mario Cattamo <mcattamo@redhat.com>1 parent 434b1ba commit a60e5f6
3 files changed
Lines changed: 126 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
| 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 | + | |
42 | 90 | | |
43 | 91 | | |
44 | 92 | | |
45 | 93 | | |
46 | 94 | | |
47 | 95 | | |
48 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
49 | 106 | | |
50 | 107 | | |
51 | 108 | | |
| |||
99 | 156 | | |
100 | 157 | | |
101 | 158 | | |
102 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
103 | 169 | | |
104 | 170 | | |
105 | 171 | | |
106 | 172 | | |
107 | 173 | | |
108 | 174 | | |
109 | | - | |
110 | | - | |
111 | 175 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
115 | 181 | | |
116 | 182 | | |
117 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
407 | 424 | | |
408 | 425 | | |
409 | 426 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| |||
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
215 | | - | |
216 | | - | |
217 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
218 | 231 | | |
219 | 232 | | |
220 | 233 | | |
| |||
223 | 236 | | |
224 | 237 | | |
225 | 238 | | |
226 | | - | |
227 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
228 | 242 | | |
229 | 243 | | |
230 | 244 | | |
| |||
240 | 254 | | |
241 | 255 | | |
242 | 256 | | |
243 | | - | |
244 | | - | |
245 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
246 | 272 | | |
247 | 273 | | |
248 | 274 | | |
249 | 275 | | |
250 | 276 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | 277 | | |
257 | 278 | | |
258 | | - | |
| 279 | + | |
259 | 280 | | |
260 | 281 | | |
261 | 282 | | |
262 | 283 | | |
263 | 284 | | |
264 | 285 | | |
265 | 286 | | |
266 | | - | |
| 287 | + | |
267 | 288 | | |
268 | 289 | | |
269 | 290 | | |
| |||
0 commit comments