piglit/ci: configure ci-tron to download traces and upload renders

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36854>
This commit is contained in:
Eric Engestrom
2025-07-07 17:02:44 +02:00
committed by Marge Bot
parent 137ccdbc54
commit 3ce27c08b4
2 changed files with 9 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ fi
if [ -n "${LAVA_HTTP_CACHE_URI:-}" ]; then
export PIGLIT_REPLAY_EXTRA_ARGS="--download-caching-proxy-url=${LAVA_HTTP_CACHE_URI} ${PIGLIT_REPLAY_EXTRA_ARGS}"
elif [ -n "${CI_TRON_JOB_HTTP_SERVER:-}" ]; then
export PIGLIT_REPLAY_EXTRA_ARGS="--download-caching-proxy-url=${CI_TRON_JOB_HTTP_SERVER}/caching_proxy/ ${PIGLIT_REPLAY_EXTRA_ARGS}"
elif [ -n "${FDO_HTTP_CACHE_URI:-}" ]; then
# FIXME: remove when there is no baremetal traces job anymore.
export PIGLIT_REPLAY_EXTRA_ARGS="--download-caching-proxy-url=${FDO_HTTP_CACHE_URI} ${PIGLIT_REPLAY_EXTRA_ARGS}"

View File

@@ -143,6 +143,13 @@
PIGLIT_RESULTS: "${GPU_VERSION}-replay"
PIGLIT_NO_WINDOW: 1
HWCI_TEST_SCRIPT: "install/piglit/piglit-traces.sh"
# For downloading traces:
CI_TRON_HTTP_ARTIFACT__TRACIE_PUBLIC__PATH: /caching_proxy/https://s3.freedesktop.org/mesa-tracie-public/(.*)
CI_TRON_HTTP_ARTIFACT__TRACIE_PUBLIC__URL: https://s3.freedesktop.org/mesa-tracie-public/\1
# For uploading renders:
# s3.fd.o redirects to hetzner, so we need that too
CI_TRON_PROXY__ALLOWED_ENDPOINTS_CATEGORY__S3__FDO: s3.freedesktop.org:443
CI_TRON_PROXY__ALLOWED_ENDPOINTS_CATEGORY__S3__BACKEND: fsn1.your-objectstorage.com:443
.deqp-test:
script: