mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
docs: Update LAVA caching setup
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:
parent
2baa3b8c06
commit
28e73a6239
1 changed files with 5 additions and 6 deletions
|
|
@ -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.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue