summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-22 09:41:04 +0200
committerJürg Billeter <j@bitron.ch>2019-08-08 06:55:23 +0200
commit80ffac1650e8a4658346cef7078b8df36aa72d70 (patch)
tree52bee07b93f3dd0117573da49419433e1d61a2c2
parent53d1e3902a269808a55388128cb624d3e6d6eab4 (diff)
downloadbuildstream-juerg/artifact-blobs.tar.gz
cli.py: Require artifact contents to be present for `bst show`juerg/artifact-blobs
With blob-based expiry in buildbox-casd, the presence of the artifact proto will no longer be sufficient.
-rw-r--r--src/buildstream/_frontend/cli.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py
index 276f81a6a..81ee4ad83 100644
--- a/src/buildstream/_frontend/cli.py
+++ b/src/buildstream/_frontend/cli.py
@@ -496,9 +496,6 @@ def show(app, elements, deps, except_, order, format_):
$'---------- %{name} ----------\\n%{vars}'
"""
with app.initialized():
- # Do not require artifact directory trees or file contents to be present for `bst show`
- app.context.set_artifact_directories_optional()
-
if not elements:
elements = app.project.get_default_targets()