From dd143d2ccf1d60ab4b2c077827db800269049393 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 13 Feb 2025 10:53:51 +0100 Subject: foreign rules: support extra remote-execution properties Those rules call a foreign build system in a single action. Obviously, those actions are quite different compared to normal build actions; at the very least, they require more time and resources and generally also spawn more than a single process. We already support scaling up the action time out. Now support also adding additional execution properties, so that they can be schedulded to dedicated workers or endpoints. --- CC/foreign/shell/EXPRESSIONS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CC/foreign/shell/EXPRESSIONS') diff --git a/CC/foreign/shell/EXPRESSIONS b/CC/foreign/shell/EXPRESSIONS index a37d315..7ca2741 100644 --- a/CC/foreign/shell/EXPRESSIONS +++ b/CC/foreign/shell/EXPRESSIONS @@ -18,6 +18,7 @@ , "PREFIX" , "BUILD_POSITION_INDEPENDENT" , "TIMEOUT_SCALE" + , "FOREIGN_EXECUTION_PROPERTIES" , "resolve_symlinks" ] , "imports": @@ -351,6 +352,8 @@ , "env": {"type": "var", "name": "ENV"} , "timeout scaling": {"type": "var", "name": "TIMEOUT_SCALE", "default": 10.0} + , "execution properties": + {"type": "var", "name": "FOREIGN_EXECUTION_PROPERTIES"} } ] ] -- cgit v1.2.3