]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: ci: Do not evaluate $CI_PROJECT_DIR in generate-stress-test-configs.py
authorMichal Nowak <mnowak@isc.org>
Wed, 5 Feb 2025 15:30:30 +0000 (15:30 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 5 Feb 2025 15:30:30 +0000 (15:30 +0000)
commitbc3957136d49642807784987a2ef6a8e5a6ee339
treeeb4bcb6317b7d9e486e09823d316a900f0320baa
parent38c51c840142a80f72fe577872f75f56234171b1
parentaa68ffeabd5d3fed14671dd0bfbabcb98843ea7c
[9.20] fix: ci: 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.

Backport of MR !10075

Merge branch 'backport-mnowak/fix-CI_PROJECT_DIR-variable-evaluation-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10077