You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ju...@apache.org on 2025/09/15 06:57:15 UTC
(buildstream) 01/01: tests/integration/pullbuildtrees.py: Clear local asset cache
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a commit to branch jbilleter/casd-assets
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 435ebf4b85c68e6609fffb3fc4dbabd281f6aa19
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Mon Sep 15 08:48:06 2025 +0200
tests/integration/pullbuildtrees.py: Clear local asset cache
The remote asset proxy support in buildbox-casd 1.3.37 uses a local
asset cache. Clear that cache in `default_state()` where we already
clear the local CAS cache.
---
tests/integration/pullbuildtrees.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/integration/pullbuildtrees.py b/tests/integration/pullbuildtrees.py
index a5fe18c7b..a0b4d7f35 100644
--- a/tests/integration/pullbuildtrees.py
+++ b/tests/integration/pullbuildtrees.py
@@ -38,6 +38,7 @@ DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "project")
# cleared as just forcefully removing the refpath leaves dangling objects.
def default_state(cli, tmpdir, share):
shutil.rmtree(os.path.join(str(tmpdir), "cas"))
+ shutil.rmtree(os.path.join(str(tmpdir), "assets"))
cli.configure(
{
"artifacts": {"servers": [{"url": share.repo, "push": False}]},