mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50: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> (cherry picked from commit28e73a6239) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38010>
This commit is contained in:
parent
9bb7bf9c66
commit
fd6b9c70b6
2 changed files with 6 additions and 7 deletions
|
|
@ -274,7 +274,7 @@
|
||||||
"description": "docs: Update LAVA caching setup",
|
"description": "docs: Update LAVA caching setup",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 2,
|
"nomination_type": 2,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "fa74e939bfdc6a9edebac1e76bd88aef5700edf7",
|
"because_sha": "fa74e939bfdc6a9edebac1e76bd88aef5700edf7",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -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