Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: masters/master.client.dart/master.cfg

Issue 2324463003: Remove old dartium_factory builders, clean up slaves.cfg files. (Closed)
Patch Set: Fix typo Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « masters/master.client.dart.fyi/slaves.cfg ('k') | masters/master.client.dart/slaves.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 # It has one job: define a dictionary named BuildmasterConfig. This 8 # It has one job: define a dictionary named BuildmasterConfig. This
9 # dictionary has a variety of keys to control different aspects of the 9 # dictionary has a variety of keys to control different aspects of the
10 # buildmaster. They are documented in docs/config.xhtml . 10 # buildmaster. They are documented in docs/config.xhtml .
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 'platform': 'posix' + postfix, 130 'platform': 'posix' + postfix,
131 'env': linux_env, 131 'env': linux_env,
132 }, 132 },
133 { 133 {
134 'name': 'linux-distribution-support-debian_wheezy' + postfix, 134 'name': 'linux-distribution-support-debian_wheezy' + postfix,
135 'category': category('99misc'), 135 'category': category('99misc'),
136 'platform': 'posix' + postfix, 136 'platform': 'posix' + postfix,
137 }, 137 },
138 ] 138 ]
139 139
140
141 # Only run ie 9 tests on stable channel
142 if channel.name == 'stable':
143 variants.append({
144 'name': 'dart2js-ie9-win7-all' + postfix,
145 'category': category('92dart2js-windows'),
146 'platform': 'windows' + postfix,
147 'env': windows_env,
148 })
149
150 # Add recipe-based dart builders and testers 140 # Add recipe-based dart builders and testers
151 variants_recipe_special_trigger = [ 141 variants_recipe_special_trigger = [
152 { 142 {
153 'name': 'target-arm-vm-linux-release' + postfix, 143 'name': 'target-arm-vm-linux-release' + postfix,
154 'category': category('1vm-misc'), 144 'category': category('1vm-misc'),
155 'factory_builder': annotator.BaseFactory( 145 'factory_builder': annotator.BaseFactory(
156 recipe='dart/dart_cross_tester'), 146 recipe='dart/dart_cross_tester'),
157 'platform': 'posix' + postfix, 147 'platform': 'posix' + postfix,
158 }, 148 },
159 { 149 {
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 'factory_builder': annotator.BaseFactory(recipe='dart/dart_vm'), 494 'factory_builder': annotator.BaseFactory(recipe='dart/dart_vm'),
505 'platform': 'posix' + postfix, 495 'platform': 'posix' + postfix,
506 }) 496 })
507 variants_vm_recipe.append({ 497 variants_vm_recipe.append({
508 'name': ('vm-linux-%s-x64-reload-rollback' % mode) + postfix, 498 'name': ('vm-linux-%s-x64-reload-rollback' % mode) + postfix,
509 'category': category('1vm-reload'), 499 'category': category('1vm-reload'),
510 'factory_builder': annotator.BaseFactory(recipe='dart/dart_vm'), 500 'factory_builder': annotator.BaseFactory(recipe='dart/dart_vm'),
511 'platform': 'posix' + postfix, 501 'platform': 'posix' + postfix,
512 }) 502 })
513 503
514 variants_dartium = []
515
516 ####### Don't run dartium-inc on dev/stable
517 if channel.name == 'be' or channel.name == 'integration':
518 variants_dartium.extend([
519 {
520 'name' : 'dartium-mac-inc' + postfix,
521 'category' : category('6dartium-inc'),
522 },
523 {
524 'name' : 'dartium-lucid64-inc' + postfix,
525 'category' : category('6dartium-inc'),
526 },
527 {
528 'name': 'dartium-win-inc-ninja' + postfix,
529 'category' : category('6dartium-inc'),
530 'builddir': 'w-' + postfix,
531 },
532 ])
533
534 variants_dartium_full_mac = [
535 {
536 'name' : 'dartium-mac-full' + postfix,
537 'category' : category('97dartium-full'),
538 },
539 ]
540
541 variants_dartium_full_linux = [
542 {
543 'name' : 'dartium-lucid64-full' + postfix,
544 'category' : category('97dartium-full'),
545 },
546 {
547 'name' : 'dartium-lucid32-full' + postfix,
548 'category' : category('97dartium-full'),
549 },
550 ]
551
552 variants_dartium_full_win = [
553 {
554 'name' : 'dartium-win-full' + postfix,
555 'category' : category('97dartium-full'),
556 },
557 ]
558
559
560 ####### Dartium integration overrides, we only use the dartium builders there 504 ####### Dartium integration overrides, we only use the dartium builders there
561 if channel.name == 'integration': 505 if channel.name == 'integration':
562 variants = [] 506 variants = []
563 variants_vm_recipe = [] 507 variants_vm_recipe = []
564 variants_recipe_special_trigger = [] 508 variants_recipe_special_trigger = []
565 509
566 # Add the dartium recipe builders after clearing on the integration branch, 510 # Add the dartium recipe builders after clearing on the integration branch,
567 # so they are also on that branch. 511 # so they are also on that branch.
568 variants_vm_recipe.append({ 512 variants_vm_recipe.append({
569 'name': ('dartium-linux-ia32') + postfix, 513 'name': ('dartium-linux-ia32') + postfix,
(...skipping 12 matching lines...) Expand all
582 if channel.name == 'be' or channel.name == 'integration': 526 if channel.name == 'be' or channel.name == 'integration':
583 variants_vm_recipe.append({ 527 variants_vm_recipe.append({
584 'name': ('dartium-%s-%s-inc' % (platform, bitness)) + postfix, 528 'name': ('dartium-%s-%s-inc' % (platform, bitness)) + postfix,
585 'category': category('6dartium-inc'), 529 'category': category('6dartium-inc'),
586 'factory_builder': annotator.BaseFactory(recipe='dart/dartium'), 530 'factory_builder': annotator.BaseFactory(recipe='dart/dartium'),
587 'platform': ('windows' if platform == 'win' else 'posix') + postfix, 531 'platform': ('windows' if platform == 'win' else 'posix') + postfix,
588 }) 532 })
589 533
590 534
591 ####### Factory setup 535 ####### Factory setup
592
593 utils.setup_factories(variants) 536 utils.setup_factories(variants)
594 utils.setup_dartium_factories(variants_dartium)
595 utils.setup_dartium_factories(variants_dartium_full_mac)
596 utils.setup_dartium_factories(variants_dartium_full_linux)
597 utils.setup_dartium_factories(variants_dartium_full_win)
598 537
599 ####### Schedulers 538 ####### Schedulers
600 539
601 # builder names 540 # builder names
602 builder_names = utils.get_builder_names(variants) 541 builder_names = utils.get_builder_names(variants)
603 vm_recipe_builder_names = utils.get_builder_names(variants_vm_recipe) 542 vm_recipe_builder_names = utils.get_builder_names(variants_vm_recipe)
604 dartium_builder_names = utils.get_builder_names(variants_dartium)
605 dartium_full_linux_builder_names = (
606 utils.get_builder_names(variants_dartium_full_linux))
607 dartium_full_mac_builder_names = (
608 utils.get_builder_names(variants_dartium_full_mac))
609 dartium_full_win_builder_names = (
610 utils.get_builder_names(variants_dartium_full_win))
611 543
612 if channel.name in ['be', 'integration']: 544 c['schedulers'].append(Scheduler(
613 # normal builders + dartium builders 545 name='main' + postfix,
614 c['schedulers'].append(Scheduler( 546 branch=channel.branch,
615 name='main' + postfix, 547 treeStableTimer=0,
616 branch=channel.branch, 548 builderNames=builder_names + vm_recipe_builder_names))
617 treeStableTimer=0,
618 builderNames=builder_names +
619 dartium_builder_names +
620 vm_recipe_builder_names +
621 dartium_full_linux_builder_names +
622 dartium_full_mac_builder_names +
623 dartium_full_win_builder_names
624 ))
625 else:
626 c['schedulers'].append(Scheduler(
627 name='main' + postfix,
628 branch=channel.branch,
629 treeStableTimer=0,
630 builderNames=builder_names + dartium_builder_names +
631 vm_recipe_builder_names))
632
633 s_dartium_linux = Scheduler(
634 name='dartium-linux' + postfix,
635 branch=channel.branch,
636 treeStableTimer=0,
637 builderNames=dartium_full_linux_builder_names)
638 s_dartium_mac = Scheduler(
639 name='dartium-mac' + postfix,
640 branch=channel.branch,
641 treeStableTimer=0,
642 builderNames=dartium_full_mac_builder_names)
643 s_dartium_win = Scheduler(
644 name='dartium-win' + postfix,
645 branch=channel.branch,
646 treeStableTimer=0,
647 builderNames=dartium_full_win_builder_names)
648 c['schedulers'].append(s_dartium_linux)
649 c['schedulers'].append(s_dartium_mac)
650 c['schedulers'].append(s_dartium_win)
651
652 549
653 ####### Builders 550 ####### Builders
654 551
655 # Add non-dartium builders
656 for collection in [variants, variants_vm_recipe, 552 for collection in [variants, variants_vm_recipe,
657 variants_recipe_special_trigger]: 553 variants_recipe_special_trigger]:
658 for b in utils.get_builders_from_variants(collection, slaves, []): 554 for b in utils.get_builders_from_variants(collection, slaves, []):
659 c['builders'].append(b) 555 c['builders'].append(b)
660 556 # End of setup_channel(channel)
661 # Add dartium builders
662 for collection in [variants_dartium, variants_dartium_full_linux,
663 variants_dartium_full_mac, variants_dartium_full_win]:
664 # Reboot VMs after every build
665 for b in utils.get_builders_from_variants(collection, slaves, [],
666 ActiveMaster.is_production_host):
667 c['builders'].append(b)
668 557
669 c['builders'] = [] 558 c['builders'] = []
670 c['schedulers'] = [] 559 c['schedulers'] = []
671 for channel in CHANNELS: 560 for channel in CHANNELS:
672 setup_channel(channel) 561 setup_channel(channel)
673 562
674 ####### CHANGESOURCES 563 ####### CHANGESOURCES
675 564
676 c['change_source'] = [ 565 c['change_source'] = [
677 utils.get_github_mirror_poller('dart-lang', 566 utils.get_github_mirror_poller('dart-lang',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 c['projectName'] = ActiveMaster.project_name 674 c['projectName'] = ActiveMaster.project_name
786 c['projectURL'] = config.Master.project_url 675 c['projectURL'] = config.Master.project_url
787 676
788 # the 'buildbotURL' string should point to the location where the buildbot's 677 # the 'buildbotURL' string should point to the location where the buildbot's
789 # internal web server (usually the html.Waterfall page) is visible. This 678 # internal web server (usually the html.Waterfall page) is visible. This
790 # typically uses the port number set in the Waterfall 'status' entry, but 679 # typically uses the port number set in the Waterfall 'status' entry, but
791 # with an externally-visible host name which the buildbot cannot figure out 680 # with an externally-visible host name which the buildbot cannot figure out
792 # without some help. 681 # without some help.
793 682
794 c['buildbotURL'] = ActiveMaster.buildbot_url 683 c['buildbotURL'] = ActiveMaster.buildbot_url
OLDNEW
« no previous file with comments | « masters/master.client.dart.fyi/slaves.cfg ('k') | masters/master.client.dart/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698