]> git.kaiwu.me - haproxy.git/commit
CI: github: fix VTest cache paths in container jobs
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 19 Oct 2026 12:26:13 +0000 (12:26 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 19 Oct 2026 14:08:06 +0000 (16:08 +0200)
commitd783bdb5c1198d10aa0d3c5b9f5fa8ad87847f78
tree443efa267482ba6e4ba7433dedf494aea29e39ba
parent612b87e75f399b928903141d9bf8ecf59d4f4f6b
CI: github: fix VTest cache paths in container jobs

The Alpine job rebuilds VTest without publishing a cache entry. Its
cache save receives the host workspace path, which does not exist inside
the container, and reports a Path Validation Error. Changing only the
cache path to "vtest" still leaves installation using the context path,
so the cached directory remains empty.

Install VTest under the runtime GITHUB_WORKSPACE and use the same
location in all workflows that call setup-vtest. Keep restore and save
paths workspace-relative so that the installed binary is found inside
the container and cache hits restore it where the callers expect it.

Split caching into explicit restore and save steps, saving immediately
after installing VTest rather than relying on the post-job hook. Reuse
the restore step's primary key. Include the distribution and version in
the key to keep Alpine/musl binaries separate from glibc builds on
runners with the same architecture.
.github/actions/setup-vtest/action.yml
.github/workflows/fedora-rawhide.yml
.github/workflows/openssl-master.yml
.github/workflows/quictls.yml
.github/workflows/vtest.yml
.github/workflows/wolfssl.yml