diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-13 10:53:51 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-13 11:09:04 +0100 |
commit | dd143d2ccf1d60ab4b2c077827db800269049393 (patch) | |
tree | dde8eca28a5ba93371485f3b4d253a1e85363c6c /CC/foreign/shell/RULES | |
parent | ad329060e2ed31391284b303e4f25eb1e3679126 (diff) | |
download | rules-cc-dd143d2ccf1d60ab4b2c077827db800269049393.tar.gz |
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.
Diffstat (limited to 'CC/foreign/shell/RULES')
-rw-r--r-- | CC/foreign/shell/RULES | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CC/foreign/shell/RULES b/CC/foreign/shell/RULES index 255a715..182e46a 100644 --- a/CC/foreign/shell/RULES +++ b/CC/foreign/shell/RULES @@ -25,6 +25,7 @@ , "PREFIX" , "BUILD_POSITION_INDEPENDENT" , "TIMEOUT_SCALE" + , "FOREIGN_EXECUTION_PROPERTIES" ] , "implicit": { "defaults": [["CC", "defaults"]] @@ -113,6 +114,9 @@ [ "The scaling of the timeout for the invocation of the foreign build." , "Defaults to 10." ] + , "FOREIGN_EXECUTION_PROPERTIES": + [ "A map with extra remote-execution properties to be added to the foreign build action." + ] } , "imports": { "artifacts": ["", "field_artifacts"] @@ -254,6 +258,7 @@ , "PREFIX" , "BUILD_POSITION_INDEPENDENT" , "TIMEOUT_SCALE" + , "FOREIGN_EXECUTION_PROPERTIES" ] , "implicit": { "defaults": [["CC", "defaults"]] @@ -395,6 +400,9 @@ [ "The scaling of the timeout for the invocation of the foreign build." , "Defaults to 10." ] + , "FOREIGN_EXECUTION_PROPERTIES": + [ "A map with extra remote-execution properties to be added to the foreign build action." + ] } , "imports": { "artifacts": ["", "field_artifacts"] |