]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not evaluate $CI_PROJECT_DIR in generate-stress-test-configs.py
authorMichal Nowak <mnowak@isc.org>
Wed, 5 Feb 2025 08:59:58 +0000 (09:59 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 5 Feb 2025 15:04:50 +0000 (15:04 +0000)
commit4dc1290d92b683176f32c48aa554e888d2aca6fc
tree29eacb74b9fd7839a21953a0c7a946bf0783c05f
parentf04168545d110907b6d48f3c8b8944002ac85af7
Do not evaluate $CI_PROJECT_DIR in generate-stress-test-configs.py

GitLab CI Runner's $builds_dir variable is set to "/builds" by default.
For technical reasons, the FreeBSD Runners, using the "instance"
executor, sets the path differently.

The value of $CI_PROJECT_DIR is based on $builds_dir, so if the
generate-stress-test-configs.py script generates jobs with
$CI_PROJECT_DIR (or variables like $INSTALL_PATH that are based on it)
evaluated, it is calcified to whatever was the value in the particular
environment, disregarding the FreeBSD "instance" executor specifics in
the child pipeline.

Instead of evaluating $CI_PROJECT_DIR in the script, evaluate it in the
runtime environment.

(cherry picked from commit dab7d28b0922980f8ea87202e2eb9b66b3a612d5)
util/generate-stress-test-configs.py