mesa/.gitlab-ci/lava/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: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
console_format.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
constants.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
gitlab_section.py ci/lava: Don't fail if the section times mismatches 2025-06-05 22:32:37 +00:00
lava_farm.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
lava_job.py ci: drop unneeded printing of pass/fail alongside the exit_code 2025-05-29 07:29:25 +00:00
lava_job_definition.py ci/lava: Avoid eval when generating env script 2025-06-10 18:19:21 -03:00
lava_log_hints.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
lava_proxy.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
log_follower.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
log_section.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00
ssh_job_definition.py ci/lava: SSH tweaks 2025-06-04 15:43:40 +00:00
uart_job_definition.py ci: Add a minimal Alpine container for running LAVA jobs 2025-05-26 17:25:40 +00:00