summaryrefslogtreecommitdiff
path: root/src/buildstream/_stream.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.co.uk>2019-08-29 10:54:18 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-09-05 07:56:42 +0000
commit5529b914a2531f56a1bd694f66797341b488ab16 (patch)
tree86d20be945a86b7d352a83b0321b9e959c579d7b /src/buildstream/_stream.py
parentd3cb30cecdccbdb65fea9d20989a57b461cfdeaf (diff)
downloadbuildstream-5529b914a2531f56a1bd694f66797341b488ab16.tar.gz
cli.py: Allow push to handle artifact refs
This patch extends support for bst artifact push so that is now able to handle artifact refs. If --deps all is selected and a ref is given, BuildStream will error.
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r--src/buildstream/_stream.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index f0e891dcf..5d5c355b1 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -455,7 +455,8 @@ class Stream():
selection=selection,
ignore_junction_targets=ignore_junction_targets,
use_artifact_config=use_config,
- artifact_remote_url=remote)
+ artifact_remote_url=remote,
+ load_refs=True)
if not self._artifacts.has_push_remotes():
raise StreamError("No artifact caches available for pushing artifacts")