]> 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 14:46:14 +0000 (15:46 +0100)
commitdab7d28b0922980f8ea87202e2eb9b66b3a612d5
treed5f5a08e8d826acf69ed49549343a02d7ba14672
parentd4a7bff0b626cffac18a476eae4546e2d009e20f
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.
util/generate-stress-test-configs.py