diff options
author | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-08-17 10:06:37 +0100 |
---|---|---|
committer | Martin Blanchard <martin.blanchard@codethink.co.uk> | 2018-09-07 13:57:29 +0100 |
commit | 7306a9545c3800109ac8dfcf510d2b3f0224d280 (patch) | |
tree | f5a6800c51bc0a490284c19012a7d928cc66099b /buildstream/element.py | |
parent | e7659c298ee0a251cacb3689cd7fd951ecbea219 (diff) | |
download | buildstream-7306a9545c3800109ac8dfcf510d2b3f0224d280.tar.gz |
Add "remote-execution" project configuration option
This just adds one option, "remote-execution/url". Affects multiple files.
https://gitlab.com/BuildStream/buildstream/issues/454
Diffstat (limited to 'buildstream/element.py')
-rw-r--r-- | buildstream/element.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index ae8e10144..9bdfaaabf 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -250,6 +250,12 @@ class Element(Plugin): # Extract Sandbox config self.__sandbox_config = self.__extract_sandbox_config(meta) + # Extract remote execution URL + if not self.__is_junction: + self.__remote_execution_url = project.remote_execution_url + else: + self.__remote_execution_url = None + def __lt__(self, other): return self.name < other.name |