mesa/bin/ci
Guilherme Gallo 5798f5d05f Revert "ci: setup-test-env: Prefer functions over aliases"
This reverts commit 1cc2c738bb

We originally changed some aliases into functions so scripts could use
them without needing to be sourced, keeping the environment cleaner.

However, this broke `x_off`, which is supposed to stop debug logs
(xtrace output) from showing in the console. The function version still
triggered xtrace before disabling it, while the alias correctly
redirected the logs to `/dev/null`.

It also fixes the `bin/ci/update_tag.py` script to be able to reuse the
aliases via double sourcing the setup-test-env.sh and the respective
build script.

Reported-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33863>
2025-03-12 20:04:20 +00:00
..
test ci: Simplify LAVA farm detection 2025-03-08 02:45:02 +00:00
.gitignore bin/ci: add gitlab_gql.py.cache to the .gitignore 2023-01-16 15:27:38 +00:00
ci_gantt_chart.py ci: update token retrieval method for gantt charts 2024-12-19 16:56:30 -08:00
ci_gantt_chart.sh ci/ci_gantt_chart: add tool to analyse pipeline execution time 2024-01-17 13:10:07 +00:00
ci_post_gantt.py ci: update token retrieval method for gantt charts 2024-12-19 16:56:30 -08:00
ci_post_gantt.sh ci/ci_post_gantt: add script that post gantt to Marge's messages 2024-01-20 00:02:56 +00:00
ci_run_n_monitor.py ci/run_n_monitor: Add --dry-run argument 2024-08-22 15:35:19 +00:00
ci_run_n_monitor.sh bin/ci/ci_run_n_monitor: use venv wrapper 2023-08-03 23:21:31 +00:00
custom_logger.py ci: Add CustomLogger class and CLI tool 2023-12-19 10:09:35 +00:00
download_gl_schema.sh
gitlab_common.py docs: update gitlab docs urls 2025-02-23 00:31:59 +01:00
gitlab_gql.py ci/run_n_monitor: Add --exclude-stage filtering 2024-08-22 15:35:19 +00:00
gitlab_gql.sh bin/ci/gitlab_gql: use venv wrapper 2023-08-03 23:21:32 +00:00
job_details.gql
marge_queue.py ci/marge_queue: add pretty_dutation() 2023-10-24 12:57:14 +00:00
marge_queue.sh ci: ci_marge_queue.py 2023-10-14 11:28:56 +00:00
nightly_compare.py ci: introduce tool for comparing nightly runs 2024-06-12 09:26:07 +00:00
nightly_compare.sh ci: introduce tool for comparing nightly runs 2024-06-12 09:26:07 +00:00
pipeline_details.gql ci/bin: gql: Improve queries for jobs/stages retrieval 2023-11-08 02:18:17 +00:00
pipeline_message.py ci: move pipeline_summary tool to .marge/hooks 2024-12-02 19:22:59 -08:00
pipeline_message.sh ci: add a tool to summarize a failed pipeline 2024-11-22 19:42:32 +00:00
pipeline_utils.gql ci/bin: Fix gitlab_gql methods that uses needs DAG 2023-11-08 02:18:17 +00:00
requirements.txt ci/lava: update lavacli from version 1.5.2 to 2.2.0 2025-01-29 22:45:53 +00:00
structured_logger.py bin/ci: Add StructuredLogger to improve log handling 2023-04-19 14:36:37 +00:00
update_tag.py Revert "ci: setup-test-env: Prefer functions over aliases" 2025-03-12 20:04:20 +00:00
update_traces_checksum.py ci: Fix trace update script reading GitLab token from default location 2025-01-17 02:13:05 +00:00
update_traces_checksum.sh bin/ci/update_traces_checksum: use venv wrapper 2023-08-03 23:21:32 +00:00