You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/08/15 08:00:18 UTC
[buildstream] 01/03: _stream.py: Allow loading artifacts in `bst shell`
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch tristan/shell-artifacts
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 055e7970641dbdc19faf4e885add5c99cdedc48f
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Mon Aug 15 16:49:41 2022 +0900
_stream.py: Allow loading artifacts in `bst shell`
Now that we cache the full sandbox root for failed builds we can debug
builds directly on downloaded artifacts.
Fixes #1711
---
src/buildstream/_stream.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index 1ae6049fe..45922bc5b 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -288,6 +288,7 @@ class Stream:
elements = self.load_selection(
(target,),
selection=selection,
+ load_artifacts=True,
connect_artifact_cache=True,
connect_source_cache=True,
artifact_remotes=artifact_remotes,