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 2022/07/06 14:24:06 UTC
[buildstream] 02/03: _sandboxreapi.py: Use `output_paths` (REAPI v2.1)
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a commit to branch juerg/reapi-2.2
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit b29c6a48e3eb37b7f7c5847fca73bf131cc076ce
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Wed Jul 6 14:40:29 2022 +0200
_sandboxreapi.py: Use `output_paths` (REAPI v2.1)
`output_paths` has been supported by buildbox runners since 0.0.14,
which was released almost two years ago. `output_files` and
`output_directories` are deprecated and might not be supported by modern
servers/workers.
---
src/buildstream/sandbox/_sandboxreapi.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/buildstream/sandbox/_sandboxreapi.py b/src/buildstream/sandbox/_sandboxreapi.py
index 1637210ea..10fe3fd0c 100644
--- a/src/buildstream/sandbox/_sandboxreapi.py
+++ b/src/buildstream/sandbox/_sandboxreapi.py
@@ -151,8 +151,7 @@ class SandboxREAPI(Sandbox):
arguments=command,
working_directory=working_directory[1:],
environment_variables=environment_variables,
- output_files=[],
- output_directories=output_directories,
+ output_paths=output_directories,
output_node_properties=self._output_node_properties,
platform=platform,
)