CI: fix broken ciimage builder script failing to correctly copy meson

Regression in commit 0af126fec7. 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.
pull/12325/head
Eli Schwartz 1 year ago
parent 59a34330f6
commit 1f000de55a
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 3
      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:

Loading…
Cancel
Save