Migrate to lucicfg star config
This patch moves our LUCI infrastructure from the legacy format to the new
lucicfg tooling, where all of the .cfg files are specified programmatically
in a new main.star file.
Bug: b/198660595
Change-Id: Ic73def015ea33fc8a4315c835e398d85fe6bbfd4
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3139149
Reviewed-by: Ryan Keane <rwkeane@google.com>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 66f91fd..bacce9d 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -154,6 +154,14 @@
return []
+def _CheckLuciCfg(input_api, output_api):
+ """Check the main.star lucicfg generated files."""
+ return input_api.RunTests(
+ input_api.canned_checks.CheckLucicfgGenOutput(
+ input_api, output_api,
+ os.path.join('infra', 'config', 'global', 'main.star')))
+
+
def _CommonChecks(input_api, output_api):
# PanProjectChecks include:
# CheckLongLines (@ 80 cols)