[ews-build] Add short name to config.json
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Feb 2019 00:24:24 +0000 (00:24 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Feb 2019 00:24:24 +0000 (00:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194456

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/config.json: Added short name.
* BuildSlaveSupport/ews-build/loadConfig.py:
(loadBuilderConfig): Set the short name as the builder description.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-build/config.json
Tools/BuildSlaveSupport/ews-build/loadConfig.py
Tools/ChangeLog

index 07d709a..827e707 100644 (file)
   "builders": [
     {
       "name": "Style-EWS",
+      "shortname": "style",
       "factory": "StyleFactory",
       "platform": "*",
       "workernames": ["ews151", "webkit-misc"]
     },
     {
       "name": "GTK-Webkit2-EWS",
+      "shortname": "gtk",
       "factory": "GTKFactory",
       "platform": "gtk",
       "workernames": ["tanty-gtk-wk2-ews", "ltilve-gtk-wk2-ews"]
     },
     {
       "name": "iOS-11-Build-EWS",
+      "shortname": "ios",
       "factory": "iOSBuildFactory",
       "platform": "ios-11",
       "configuration": "release",
     },
     {
       "name": "iOS-11-Simulator-Build-EWS",
+      "shortname": "ios-sim",
       "factory": "iOSBuildFactory",
       "platform": "ios-simulator-11",
       "configuration": "release",
     },
     {
       "name": "iOS-11-Simulator-WK2-Tests-EWS",
+      "shortname": "ios-wk2",
       "factory": "iOSTestsFactory",
       "platform": "ios-simulator-11",
       "configuration": "release",
     },
     {
       "name": "macOS-High-Sierra-Release-Build-EWS",
+      "shortname": "mac",
       "factory": "macOSBuildFactory",
       "platform": "mac-highsierra",
       "configuration": "release",
     },
     {
       "name": "macOS-High-Sierra-Release-WK1-Tests-EWS",
+      "shortname": "mac-wk1",
       "factory": "macOSWK1Factory",
       "platform": "mac-highsierra",
       "configuration": "release",
     },
     {
       "name": "macOS-High-Sierra-Release-WK2-Tests-EWS",
+      "shortname": "mac-wk2",
       "factory": "macOSWK2Factory",
       "platform": "mac-highsierra",
       "configuration": "release",
     },
     {
       "name": "macOS-High-Sierra-Debug-Build-EWS",
+      "shortname": "mac-debug",
       "factory": "macOSBuildFactory",
       "platform": "mac-highsierra",
       "configuration": "debug",
     },
     {
       "name": "macOS-High-Sierra-Debug-WK1-Tests-EWS",
+      "shortname": "mac-debug-wk1",
       "factory": "macOSWK1Factory",
       "platform": "mac-highsierra",
       "configuration": "debug",
     },
     {
       "name": "macOS-High-Sierra-Release-32bit-Build-EWS",
+      "shortname": "mac-32bit",
       "factory": "macOSBuildFactory",
       "platform": "mac-highsierra",
       "configuration": "release",
     },
     {
       "name": "macOS-High-Sierra-Release-32bit-WK2-Tests-EWS",
+      "shortname": "mac-32bit-wk2",
       "factory": "macOSWK2Factory",
       "platform": "mac-highsierra",
       "configuration": "release",
     },
     {
       "name": "Windows-EWS",
+      "shortname": "win",
       "factory": "WindowsFactory",
       "platform": "win",
       "workernames": ["ews200", "ews201", "ews202", "ews203", "ews204", "ews205", "ews206", "ews207", "ews208"]
     },
     {
       "name": "WinCairo-EWS",
+      "shortname": "wincairo",
       "factory": "WinCairoFactory",
       "platform": "wincairo",
       "workernames": ["wincairo-ews-001", "wincairo-ews-002", "wincairo-ews-003", "wincairo-ews-004"]
     },
     {
       "name": "WPE-EWS",
+      "shortname": "wpe",
       "factory": "WPEFactory",
       "platform": "wpe",
       "workernames": ["igalia-wpe-ews", "aperez-wpe-gcc5-ews", "aperez-wpe-gcc6-ews"]
     },
     {
       "name": "JSC-Tests-EWS",
+      "shortname": "jsc",
       "factory": "JSCTestsFactory",
       "platform": "jsc-only",
       "configuration": "release",
     },
     {
       "name": "Bindings-Tests-EWS",
+      "shortname": "bindings",
       "factory": "BindingsFactory",
       "platform": "*",
       "workernames": ["ews151", "webkit-misc"]
     },
     {
       "name": "WebKitPy-Tests-EWS",
+      "shortname": "webkitpy",
       "factory": "WebKitPyFactory",
       "platform": "*",
       "workernames": ["ews151", "webkit-misc"]
     },
     {
       "name": "WebKitPerl-Tests-EWS",
+      "shortname": "webkitperl",
       "factory": "WebKitPerlFactory",
       "platform": "*",
       "workernames": ["ews151", "webkit-misc"]
     },
     {
       "name": "API-Tests-iOS-Simulator-EWS",
+      "shortname": "api-ios",
       "factory": "APITestsFactory",
       "platform": "*",
       "workernames": ["ews152", "ews153", "webkit-misc"]
     },
     {
       "name": "API-Tests-macOS-EWS",
+      "shortname": "api-mac",
       "factory": "APITestsFactory",
       "platform": "*",
       "workernames": ["ews151", "ews152", "ews153", "webkit-misc"]
index b09f649..93fce5b 100644 (file)
@@ -51,6 +51,7 @@ def loadBuilderConfig(c, use_localhost_worker=False, master_prefix_path='./'):
     for builder in config['builders']:
         builder['tags'] = getTagsForBuilder(builder)
         factory = globals()[builder['factory']]
+        builder['description'] = builder.pop("shortname")
         factorykwargs = {}
         for key in ["platform", "configuration", "architectures", "triggers", "additionalArguments"]:
             value = builder.pop(key, None)
index 03c4758..4ad2087 100644 (file)
@@ -1,3 +1,14 @@
+2019-02-08  Aakash Jain  <aakash_jain@apple.com>
+
+        [ews-build] Add short name to config.json
+        https://bugs.webkit.org/show_bug.cgi?id=194456
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/config.json: Added short name.
+        * BuildSlaveSupport/ews-build/loadConfig.py:
+        (loadBuilderConfig): Set the short name as the builder description.
+
 2019-02-08  Jonathan Bedard  <jbedard@apple.com>
 
         webkitpy: CrashLogs.find_all_logs may return a string or a dictionary