docs: Update LAVA caching setup
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

After a recent change, `piglit-traces.sh` automatically sets the caching
proxy, so update the docs to reflect this.

Also update the name of the variable from `FDO_HTTP_CACHE_URI` to
`LAVA_HTTP_CACHE_URI`.

Fixes: fa74e939bf ("ci/piglit: automatically use LAVA proxy")

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37862>
This commit is contained in:
Valentine Burley 2025-10-14 08:57:05 +02:00 committed by Marge Bot
parent 2baa3b8c06
commit 28e73a6239

View file

@ -122,9 +122,8 @@ Enable the site and restart nginx:
# Second download should be cached. # Second download should be cached.
wget http://localhost/cache/?uri=https://s3.freedesktop.org/mesa-tracie-public/itoral-gl-terrain-demo/demo-v2.trace wget http://localhost/cache/?uri=https://s3.freedesktop.org/mesa-tracie-public/itoral-gl-terrain-demo/demo-v2.trace
Now, set ``download-url`` in your ``traces-*.yml`` entry to something like The trace runner script automatically sets the caching proxy, so there's no
``http://caching-proxy/cache/?uri=https://s3.freedesktop.org/mesa-tracie-public`` need to modify anything in the Mesa CI YAML files.
and you should have cached downloads for traces. Add it to Add ``LAVA_HTTP_CACHE_URI=http://localhost/cache/?uri=`` to your ``config.toml``
``FDO_HTTP_CACHE_URI=`` in your ``config.toml`` runner environment lines and you runner environment lines and you can use it for cached artifact downloads
can use it for cached artifact downloads instead of going all the way to instead of going all the way to freedesktop.org on each job.
freedesktop.org on each job.