summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2017-09-09 11:57:23 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2017-09-19 09:34:00 +0200
commite1da62e4eccf94a11e60d972f87aa03b413ac350 (patch)
tree44258786fdfdfc419d30a678b8bf67718442dfb4 /buildstream/_pipeline.py
parent606ce8fa46f7d5bc45763388fa721a8a633759f5 (diff)
downloadbuildstream-e1da62e4eccf94a11e60d972f87aa03b413ac350.tar.gz
Let projects configure their artifacts pull/push options
With this commit, we first look at the artifacts options in the project configuration, then fall back on the user configuration if necessary. Relates to #87
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r--buildstream/_pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 6359f1012..07f72bdc9 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -133,7 +133,7 @@ class Pipeline():
cache_ticker=None):
self.context = context
self.project = project
- self.artifacts = ArtifactCache(self.context)
+ self.artifacts = ArtifactCache(self.context, self.project)
self.session_elements = 0
self.total_elements = 0
self.unused_workspaces = []