Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2025 at 10:59 UTC
Updated:
5 Dec 2025 at 08:49 UTC
Jump to comment: Most recent
https://docs.gitlab.com/ci/runners/configure_runners/#custom-build-direc... mentions we can just set GIT_CLONE_PATH if we need a custom build directory.
This means we can remove the workaround where we copy various files about to ensure that they always contain the same static path.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
longwaveRepurposing this as the unification is in #3558749: [CI] Refactor lint cache downloads and allow easier testing instead.
Comment #4
longwaveThis seems to work - setting GIT_CLONE_PATH to $CI_BUILDS_DIR means everything always starts in
/builds, so we don't need to copy things around.Comment #5
longwaveComment #6
longwaveThe sed commands in the PHPStan job appear to do nothing, because the baseline is already relative to
__DIR__, so I've removed those. This is ready for review now I think.Comment #7
longwaveComment #8
longwaveAdded a comment, thanks @alexpott for the suggestion.
Comment #9
alexpottThis is inspired. Nice.
Comment #10
mondrakeGreat find.
Comment #12
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!