]> 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:45 +0000 (15:04 +0000)
commitaa68ffeabd5d3fed14671dd0bfbabcb98843ea7c
treeeb4bcb6317b7d9e486e09823d316a900f0320baa
parent38c51c840142a80f72fe577872f75f56234171b1
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