summaryrefslogtreecommitdiff
path: root/ci/ciimage
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-10-03 11:20:50 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-10-04 02:03:03 -0400
commit1f000de55ac96648c74775d2e3a49ae99e92d949 (patch)
tree80827c118f1e573d223e16ba032c86c49d4d2a72 /ci/ciimage
parent59a34330f688aa466ae5a399e76157ec8563ee3b (diff)
downloadmeson-1f000de55ac96648c74775d2e3a49ae99e92d949.tar.gz
CI: fix broken ciimage builder script failing to correctly copy meson
Regression in commit 0af126fec798d6dbb0d1ad52168cc1f3f1758acd. We added support for some "test cases/" stuff that actually relies on test files being a symlink, but when testing the image builder, we copied the meson repository contents into the docker container without telling python that it is in fact super important to copy symlinks as symlinks. As a result, the tests themselves ran fine when merging, but caused the image builder to thereafter fail.
Diffstat (limited to 'ci/ciimage')
-rwxr-xr-xci/ciimage/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/ciimage/build.py b/ci/ciimage/build.py
index 559723c0c..b9d318158 100755
--- a/ci/ciimage/build.py
+++ b/ci/ciimage/build.py
@@ -143,13 +143,14 @@ class ImageTester(BuilderBase):
shutil.copytree(
self.meson_root,
self.temp_dir / 'meson',
+ symlinks=True,
ignore=shutil.ignore_patterns(
'.git',
'*_cache',
'__pycache__',
# 'work area',
self.temp_dir.name,
- )
+ ),
)
def do_test(self, tty: bool = False) -> None: