summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins')
-rw-r--r--src/buildstream/plugins/elements/junction.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/buildstream/plugins/elements/junction.py b/src/buildstream/plugins/elements/junction.py
index 235702b07..aec32516b 100644
--- a/src/buildstream/plugins/elements/junction.py
+++ b/src/buildstream/plugins/elements/junction.py
@@ -59,12 +59,18 @@ Overview
# should interact with project remotes (default: False).
cache-junction-elements: False
+ # Optionally ignore junction remotes, this means that BuildStream
+ # will not attempt to pull artifacts from the junction project's
+ # remote(s) (default: False).
+ ignore-junction-remotes: False
+
.. note::
The configuration option to allow specifying junction targets is available
since :ref:`format version 24 <project_format_version>` and the configuration
- option allowing junction project elements to interact with parent remotes is
- available since :ref:`format version 25 <project_format_version>`.
+ options allowing for junction project elements to interact with parent remotes
+ or to completely ignore junction project remotes are available since
+ :ref:`format version 25 <project_format_version>`.
.. note::
@@ -187,6 +193,7 @@ class JunctionElement(Element):
self.target_element = None
self.target_junction = None
self.cache_junction_elements = node.get_bool('cache-junction-elements', default=False)
+ self.ignore_junction_remotes = node.get_bool('ignore-junction-remotes', default=False)
def preflight(self):
# "target" cannot be used in conjunction with: