Commit efd868f
committed
[build] build.sh: optional host container-socket mount for container-backed suites
The container envs run kyo's tests inside a Linux container so io_uring is
available, but the kyo-sql and kyo-pod conformance suites start Postgres and
MySQL through the container runtime's socket, which the container does not
carry. On a host with no Linux io_uring (macOS) that left no way to run those
suites on io_uring locally: the DB tests reported no reachable runtime.
When KYO_POD_SOCKET names the host podman socket, mount it and share the host
network so kyo-pod inside the container starts sibling DB containers and reaches
their published ports on localhost. Off by default, so a normal run is
unchanged. CI does not need it, since its JVM job runs on the host rather than
nested.1 parent e940d5c commit efd868f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
0 commit comments