diff options
author | Jürg Billeter <j@bitron.ch> | 2019-07-01 15:25:52 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-08-20 08:09:52 +0200 |
commit | a426729a23d686d19b59d5e5a67342d0a2eb785c (patch) | |
tree | 36d151c0935b943fe3889fd1210a4726f1ebe6ad /src/buildstream/sandbox | |
parent | 3d850de60ee5ba989e7b64466bcc78f9f676a2c8 (diff) | |
download | buildstream-a426729a23d686d19b59d5e5a67342d0a2eb785c.tar.gz |
casremote.py: Use buildbox-casd in init()
Diffstat (limited to 'src/buildstream/sandbox')
-rw-r--r-- | src/buildstream/sandbox/_sandboxremote.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/sandbox/_sandboxremote.py b/src/buildstream/sandbox/_sandboxremote.py index affe597dd..4308d662b 100644 --- a/src/buildstream/sandbox/_sandboxremote.py +++ b/src/buildstream/sandbox/_sandboxremote.py @@ -281,7 +281,7 @@ class SandboxRemote(Sandbox): context = self._get_context() cascache = context.get_cascache() artifactcache = context.artifactcache - casremote = CASRemote(self.storage_remote_spec) + casremote = CASRemote(self.storage_remote_spec, cascache) # Now do a pull to ensure we have the full directory structure. dir_digest = cascache.pull_tree(casremote, tree_digest) @@ -300,7 +300,7 @@ class SandboxRemote(Sandbox): project = self._get_project() cascache = context.get_cascache() artifactcache = context.artifactcache - casremote = CASRemote(self.storage_remote_spec) + casremote = CASRemote(self.storage_remote_spec, cascache) # Fetch the file blobs if needed if self._output_files_required or artifactcache.has_push_remotes(): @@ -368,7 +368,7 @@ class SandboxRemote(Sandbox): action_result = self._check_action_cache(action_digest) if not action_result: - casremote = CASRemote(self.storage_remote_spec) + casremote = CASRemote(self.storage_remote_spec, cascache) try: casremote.init() except grpc.RpcError as e: |