Changeset 266208 in webkit
- Timestamp:
- Aug 26, 2020 5:10:05 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json
r265691 r266208 89 89 { "name": "gtk-linux-bot-14", "platform": "gtk" }, 90 90 { "name": "gtk-linux-bot-15", "platform": "gtk" }, 91 { "name": "gtk-linux-bot-16", "platform": "gtk" }, 92 { "name": "gtk-linux-bot-17", "platform": "gtk" }, 91 93 92 94 { "name": "jsconly-linux-igalia-bot-1", "platform": "jsc-only" }, … … 101 103 { "name": "wpe-linux-bot-4", "platform": "wpe" }, 102 104 { "name": "wpe-linux-bot-5", "platform": "wpe" }, 103 { "name": "wpe-linux-bot-6", "platform": "wpe" } 105 { "name": "wpe-linux-bot-6", "platform": "wpe" }, 106 { "name": "wpe-linux-bot-7", "platform": "wpe" }, 107 { "name": "wpe-linux-bot-8", "platform": "wpe" } 104 108 ], 105 109 … … 289 293 }, 290 294 { 291 "name": "GTK Linux 64-bit Release (Build)", "type": "Build AndGenerateJSCBundle", "builddir": "gtk-linux-64-release",295 "name": "GTK Linux 64-bit Release (Build)", "type": "Build", "builddir": "gtk-linux-64-release", 292 296 "platform": "gtk", "configuration": "release", "architectures": ["x86_64"], 293 297 "triggers": ["gtk-linux-64-release-tests", "gtk-linux-64-release-tests-js", "gtk-linux-64-release-tests-webdriver", … … 356 360 }, 357 361 { 362 "name": "GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804", "type": "BuildAndGenerateMiniBrowserBundle", "builddir": "gtk-linux-64-packaging-nigthly-ubuntu1804", 363 "platform": "gtk", "configuration": "release", "architectures": ["x86_64"], 364 "additionalArguments": ["--no-bubblewrap-sandbox"], 365 "slavenames": ["gtk-linux-bot-16"] 366 }, 367 { 368 "name": "GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004", "type": "BuildAndGenerateMiniBrowserJSCBundle", "builddir": "gtk-linux-64-packaging-nigthly-ubuntu2004", 369 "platform": "gtk", "configuration": "release", "architectures": ["x86_64"], 370 "additionalArguments": ["--no-bubblewrap-sandbox"], 371 "slavenames": ["gtk-linux-bot-17"] 372 }, 373 { 358 374 "name": "WinCairo 64-bit WKL Release (Build)", "type": "Build", "builddir": "wincairo-wkl-release", 359 375 "platform": "wincairo", "configuration": "release", "architectures": ["x86_64"], … … 448 464 "platform": "wpe", "configuration": "debug", "architectures": ["x86_64"], 449 465 "slavenames": ["wpe-linux-bot-6"] 466 }, 467 { 468 "name": "WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804", "type": "BuildAndGenerateMiniBrowserBundle", "builddir": "wpe-linux-64-packaging-nigthly-ubuntu1804", 469 "platform": "wpe", "configuration": "release", "architectures": ["x86_64"], 470 "additionalArguments": ["--no-bubblewrap-sandbox", "--cmakeargs=-DENABLE_WPE_QT_API=OFF"], 471 "slavenames": ["wpe-linux-bot-7"] 472 }, 473 { 474 "name": "WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004", "type": "BuildAndGenerateMiniBrowserBundle", "builddir": "wpe-linux-64-packaging-nigthly-ubuntu2004", 475 "platform": "wpe", "configuration": "release", "architectures": ["x86_64"], 476 "additionalArguments": ["--no-bubblewrap-sandbox", "--cmakeargs=-DENABLE_WPE_QT_API=OFF"], 477 "slavenames": ["wpe-linux-bot-8"] 450 478 } 451 479 ], … … 600 628 { "type": "Triggerable", "name": "wpe-linux-64-debug-tests-js", 601 629 "builderNames": ["WPE Linux 64-bit Debug (Tests JS)"] 630 }, 631 { "type": "Nightly", "name": "NightlyScheduler", "change_filter": "trunk_filter", 632 "branch": "trunk", "hour": 22, "minute": 0, 633 "builderNames": ["GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804", "GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004", 634 "WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804", "WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004"] 602 635 } 603 636 ] -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/factories.py
r263291 r266208 48 48 class BuildFactory(Factory): 49 49 ShouldRunJSCBundleStep = False 50 ShouldRunMiniBrowserBundleStep = False 50 51 51 52 def __init__(self, platform, configuration, architectures, triggers=None, additionalArguments=None, SVNMirror=None, device_model=None): … … 56 57 else: 57 58 self.addStep(CompileWebKit()) 59 60 if self.ShouldRunJSCBundleStep: 61 self.addStep(GenerateJSCBundle()) 62 if self.ShouldRunMiniBrowserBundleStep: 63 self.addStep(GenerateMiniBrowserBundle()) 58 64 59 65 if triggers: … … 63 69 self.addStep(ArchiveMinifiedBuiltProduct()) 64 70 self.addStep(UploadMinifiedBuiltProduct()) 65 if self.ShouldRunJSCBundleStep:66 self.addStep(GenerateJSCBundle())67 71 self.addStep(TransferToS3()) 68 72 self.addStep(trigger.Trigger(schedulerNames=triggers)) … … 72 76 JSCTestClass = RunJavaScriptCoreTests 73 77 LayoutTestClass = RunWebKitTests 74 ShouldRunJSCBundleStep = False75 78 76 79 def getProduct(self): … … 113 116 self.addStep(UploadTestResults()) 114 117 self.addStep(ExtractTestResults()) 115 if self.ShouldRunJSCBundleStep:116 self.addStep(GenerateJSCBundle())117 118 if platform == "gtk": 118 119 self.addStep(RunGtkAPITests()) … … 180 181 181 182 182 class BuildAndNonLayoutTestAndGenerateJSCBundleFactory(BuildAndNonLayoutTestFactory): 183 class BuildAndGenerateMiniBrowserBundleFactory(BuildFactory): 184 ShouldRunMiniBrowserBundleStep = True 185 186 187 class BuildAndGenerateMiniBrowserJSCBundleFactory(BuildFactory): 183 188 ShouldRunJSCBundleStep = True 189 ShouldRunMiniBrowserBundleStep = True 184 190 185 191 -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/loadConfig.py
r256535 r266208 22 22 23 23 from buildbot.buildslave import BuildSlave 24 from buildbot.scheduler import AnyBranchScheduler, Triggerable 24 from buildbot.scheduler import AnyBranchScheduler, Triggerable, Nightly 25 25 from buildbot.schedulers.forcesched import FixedParameter, ForceScheduler, StringParameter, BooleanParameter 26 26 from buildbot.schedulers.filter import ChangeFilter -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py
r265606 r266208 311 311 haltOnFailure = False 312 312 313 314 class GenerateMiniBrowserBundle(shell.ShellCommand): 315 command = ["./Tools/Scripts/generate-bundle", "--builder-name", WithProperties("%(buildername)s"), 316 "--bundle=MiniBrowser", WithProperties("--platform=%(fullPlatform)s"), 317 WithProperties("--%(configuration)s"), WithProperties("--revision=%(got_revision)s"), 318 "--remote-config-file", "../../remote-minibrowser-bundle-upload-config.json"] 319 name = "generate-minibrowser-bundle" 320 description = ["generating minibrowser bundle"] 321 descriptionDone = ["generated minibrowser bundle"] 322 haltOnFailure = False 323 324 313 325 class ExtractBuiltProduct(shell.ShellCommand): 314 326 command = ["python", "./Tools/BuildSlaveSupport/built-product-archive", -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps_unittest.py
r265691 r266208 576 576 'GTK Linux 64-bit Debug (Tests WebDriver)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'webdriver-test'], 577 577 'GTK Linux 64-bit Debug (Tests JS)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'jscore-test', 'test262-test'], 578 'GTK Linux 64-bit Release (Build)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'archive-built-product', 'upload', ' generate-jsc-bundle', 'transfer-to-s3', 'trigger'],578 'GTK Linux 64-bit Release (Build)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'archive-built-product', 'upload', 'transfer-to-s3', 'trigger'], 579 579 'GTK Linux 64-bit Release (Perf)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'perf-test', 'benchmark-test'], 580 580 'GTK Linux 64-bit Release (Tests)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'layout-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'archive-test-results', 'upload', 'MasterShellCommand', 'API tests'], … … 601 601 'WPE Linux 64-bit Debug (Tests)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'layout-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'archive-test-results', 'upload', 'MasterShellCommand', 'API tests', 'webdriver-test'], 602 602 'WPE Linux 64-bit Debug (Tests JS)': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'download-built-product', 'extract-built-product', 'jscore-test', 'test262-test'], 603 'GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'generate-minibrowser-bundle'], 604 'GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'generate-jsc-bundle', 'generate-minibrowser-bundle'], 605 'WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu1804': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'generate-minibrowser-bundle'], 606 'WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004': ['configure build', 'svn', 'kill old processes', 'delete WebKitBuild directory', 'delete stale build files', 'jhbuild', 'compile-webkit', 'generate-minibrowser-bundle'], 603 607 } 604 608 -
trunk/Tools/ChangeLog
r266190 r266208 1 2020-08-26 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK][WPE] Add bots for generating nightly bundle packages 4 https://bugs.webkit.org/show_bug.cgi?id=215623 5 6 Reviewed by Aakash Jain. 7 8 This adds a new type of bots for GTK and WPE that runs nightly (once per day). 9 The goal of this bots its to build WebKit for a specific distribution (Ubuntu LTS and LTS-1) 10 and generate a bundle with the result of the build. The bundles are then uploaded to a 11 server for consumption on other CIs like WPT. 12 13 The MiniBrowser bundle targets a specific distribution, so each one of this new bots has to 14 run the generate-minibrowser-bundle step. However, the JSC bundle is distro-agnostic because 15 for JSC is possible to bundle all the system libraries (similar to a static build). 16 That means that we only need to run the step generate-jsc-bundle in one of the bots. 17 This step for generating the JSC bundle was previously executed in the bot 18 'GTK Linux 64-bit Release (Build)'. This patch moves it to one of this new added bots. 19 20 * BuildSlaveSupport/build.webkit.org-config/config.json: 21 * BuildSlaveSupport/build.webkit.org-config/factories.py: 22 (BuildFactory): 23 (BuildFactory.__init__): 24 (TestFactory): 25 (TestFactory.__init__): 26 (BuildAndGenerateMiniBrowserBundleFactory): 27 (BuildAndGenerateMiniBrowserJSCBundleFactory): 28 * BuildSlaveSupport/build.webkit.org-config/loadConfig.py: 29 * BuildSlaveSupport/build.webkit.org-config/steps.py: 30 (GenerateJSCBundle): 31 (GenerateMiniBrowserBundle): 32 * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py: 33 1 34 2020-08-26 Jonathan Bedard <jbedard@apple.com> 2 35
Note: See TracChangeset
for help on using the changeset viewer.