#!/bin/bash VARS=( ACO_DEBUG ANGLE_TAG ANGLE_TRACE_FILES_TAG ANV_DEBUG ARTIFACTS_BASE_URL ASAN_OPTIONS BASE_SYSTEM_FORK_HOST_PREFIX BASE_SYSTEM_MAINLINE_HOST_PREFIX CI_COMMIT_BRANCH CI_COMMIT_REF_NAME CI_COMMIT_TITLE CI_JOB_ID CI_JOB_NAME CI_JOB_STARTED_AT CI_JOB_URL CI_MERGE_REQUEST_SOURCE_BRANCH_NAME CI_MERGE_REQUEST_TITLE CI_NODE_INDEX CI_NODE_TOTAL CI_PAGES_DOMAIN CI_PIPELINE_ID CI_PIPELINE_URL CI_PROJECT_DIR CI_PROJECT_NAME CI_PROJECT_PATH CI_PROJECT_ROOT_NAMESPACE CI_RUNNER_DESCRIPTION CI_SERVER_URL CROSVM_GALLIUM_DRIVER CROSVM_GPU_ARGS CURRENT_SECTION DEQP_BIN_DIR DEQP_FORCE_ASAN DEQP_FRACTION DEQP_RUNNER_MAX_FAILS DEQP_SUITE DEQP_TEMP_DIR DEVICE_NAME DRIVER_NAME EGL_PLATFORM ETNA_MESA_DEBUG FDO_CI_CONCURRENT FDO_HTTP_CACHE_URI FDO_UPSTREAM_REPO FD_MESA_DEBUG FLAKES_CHANNEL FLUSTER_CODECS FLUSTER_FRACTION FLUSTER_VECTORS_VERSION FREEDRENO_HANGCHECK_MS GALLIUM_DRIVER GALLIVM_PERF GPU_VERSION GTEST GTEST_FAILS GTEST_FRACTION GTEST_RUNNER_OPTIONS GTEST_SKIPS HWCI_FREQ_MAX HWCI_KERNEL_MODULES HWCI_KVM HWCI_START_WESTON HWCI_START_XORG HWCI_TEST_ARGS HWCI_TEST_SCRIPT INTEL_XE_IGNORE_EXPERIMENTAL_WARNING IR3_SHADER_DEBUG JOB_ARTIFACTS_BASE JOB_RESULTS_PATH JOB_ROOTFS_OVERLAY_PATH KERNEL_IMAGE_BASE KERNEL_IMAGE_NAME LD_LIBRARY_PATH LIBGL_ALWAYS_SOFTWARE LP_NUM_THREADS LVP_POISON_MEMORY MESA_BASE_TAG MESA_BUILD_PATH MESA_DEBUG MESA_GLES_VERSION_OVERRIDE MESA_GLSL_VERSION_OVERRIDE MESA_GL_VERSION_OVERRIDE MESA_IMAGE MESA_IMAGE_PATH MESA_IMAGE_TAG MESA_LOADER_DRIVER_OVERRIDE MESA_SPIRV_LOG_LEVEL MESA_TEMPLATES_COMMIT MESA_VK_ABORT_ON_DEVICE_LOSS MESA_VK_IGNORE_CONFORMANCE_WARNING NIR_DEBUG PANVK_DEBUG PAN_I_WANT_A_BROKEN_VULKAN_DRIVER PAN_MESA_DEBUG PIGLIT_FRACTION PIGLIT_NO_WINDOW PIGLIT_OPTIONS PIGLIT_PLATFORM PIGLIT_REPLAY_ANGLE_ARCH PIGLIT_REPLAY_ARTIFACTS_BASE_URL PIGLIT_REPLAY_DEVICE_NAME PIGLIT_REPLAY_EXTRA_ARGS PIGLIT_REPLAY_LOOP_TIMES PIGLIT_REPLAY_REFERENCE_IMAGES_BASE PIGLIT_REPLAY_SUBCOMMAND PIGLIT_RESULTS PIGLIT_RUNNER_OPTIONS PIGLIT_TESTS PIGLIT_TRACES_FILE PIPELINE_ARTIFACTS_BASE RADEON_DEBUG RADV_DEBUG radv_enable_float16_gfx8 RADV_PERFTEST S3_HOST S3_JWT_FILE S3_RESULTS_UPLOAD SKQP_ASSETS_DIR SKQP_BACKENDS STORAGE_FORK_HOST_PATH STORAGE_MAINLINE_HOST_PATH TU_DEBUG VIRGL_HOST_API VIRGL_RENDER_SERVER VK_DRIVER WAFFLE_PLATFORM ZINK_DEBUG ZINK_DESCRIPTORS # Dead code within Mesa CI, but required by virglrender CI # (because they include our files in their CI) VK_DRIVER_FILES ) for var in "${VARS[@]}"; do if [ -n "${!var+x}" ]; then echo "export $var=${!var@Q}" fi done