mesa/.gitlab-ci/tests/utils
Guilherme Gallo e1d54be524
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
ci/lava: Avoid eval when generating env script
Remove use of `eval` when writing `dut-job-env-vars.sh`, as it's
unnecessary. The script only needs to declare variables, not evaluate
them.

Using `eval` introduces parsing issues when variables contain both
single and double quotes, such as in commit titles. Example:
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/77995175#L3188
This job failed to parse `CI_COMMIT_TITLE` and `CI_MERGE_REQUEST_TITLE`
correctly due to mixed quoting in:

    Revert "ci: disable Collabora's farm due to maintenance"

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35421>
2025-06-10 18:19:21 -03:00
..
__init__.py ci/lava: Create Gitlab log sections handler 2022-07-07 00:28:53 +00:00
test_lava_farm.py ci: Simplify LAVA farm detection 2025-03-08 02:45:02 +00:00
test_lava_job_definition.py ci/lava: Avoid eval when generating env script 2025-06-10 18:19:21 -03:00
test_lava_log.py ci/lava: Don't fail if the section times mismatches 2025-06-05 22:32:37 +00:00