ci: Forward all environment variables to DUTs and crosvm

Instead of the current allowlist in export-gitlab-job-env-for-dut.sh,
filter out unwanted environment variables and forward the rest to
bare-metal and LAVA DUTs, as well as crosvm.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35051>
This commit is contained in:
Valentine Burley
2025-05-19 08:38:17 +02:00
committed by Marge Bot
parent 45e61f1203
commit cc83b3db5f
7 changed files with 59 additions and 142 deletions

View File

@@ -23,7 +23,7 @@ set +x
# Pass through relevant env vars from the gitlab job to the baremetal init script
echo "Variables passed through:"
"$CI_COMMON"/export-gitlab-job-env-for-dut.sh | tee $rootfs_dst/set-job-env-vars.sh
filter_env_vars | tee $rootfs_dst/set-job-env-vars.sh
set -x