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

Unified Diff: masters/master.tryserver.chromium.gpu/master.cfg

Issue 919113002: Removed tryserver.chromium.gpu and related references (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebase Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: masters/master.tryserver.chromium.gpu/master.cfg
diff --git a/masters/master.tryserver.chromium.gpu/master.cfg b/masters/master.tryserver.chromium.gpu/master.cfg
deleted file mode 100644
index eff02e2328ce689f974a29984f785c0173b7cb35..0000000000000000000000000000000000000000
--- a/masters/master.tryserver.chromium.gpu/master.cfg
+++ /dev/null
@@ -1,171 +0,0 @@
-# -*- python -*-
-# ex: set syntax=python:
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# READ THIS:
-# See http://dev.chromium.org/developers/testing/chromium-build-infrastructure
-
-import os
-import socket
-
-from buildbot.scheduler import Triggerable
-
-# These modules come from scripts, which must be in the PYTHONPATH.
-from master import buildbucket
-from master import master_utils
-from master import slaves_list
-from master.builders_pools import BuildersPools
-from master.factory import annotator_factory
-from master.try_job_rietveld import TryJobRietveld
-
-import config
-import master_site_config
-
-ActiveMaster = master_site_config.GpuTryServer
-
-
-MAIL_NOTIFIER = ActiveMaster.is_production_host
-UPDATE_CODEREVIEW = ActiveMaster.is_production_host
-LISTEN_TO_RIETVELD = ActiveMaster.is_production_host
-
-# This is the dictionary that the buildmaster pays attention to. We also use
-# a shorter alias to save typing.
-c = BuildmasterConfig = {}
-
-config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
-
-c['change_source'] = []
-
-# Avoid merging requests.
-c['mergeRequests'] = False
-
-m_annotator = annotator_factory.AnnotatorFactory()
-
-gpu_builders = []
-gpu_testers = []
-gpu_triggers = {}
-for gpu_builder_name, triggers in gpu_triggers.iteritems():
- gpu_builders.append({
- 'name': gpu_builder_name,
- 'factory': m_annotator.BaseFactory('gpu/build_and_upload', {
- 'sharded_tests': [],
- 'build_config': 'Release',
- }, [gpu_builder_name])
- })
- for gpu_tester_name in triggers:
- gpu_testers.append({
- 'name': gpu_tester_name,
- 'factory': m_annotator.BaseFactory('gpu/download_and_test', {
- 'sharded_tests': [],
- 'build_config': 'Release'
- })
- })
-
-c['builders'] = gpu_builders + gpu_testers
-
-slaves = slaves_list.SlavesList('slaves.cfg', 'GpuTryServer')
-
-for builder in c['builders']:
- builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
- builder.setdefault('auto_reboot', ActiveMaster.is_production_host)
-
-c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
- config.Master.GetBotPassword())
-
-master_utils.VerifySetup(c, slaves)
-
-c['schedulers'] = []
-
-pools = BuildersPools('gpu')
-pools['gpu'].extend([builder['name'] for builder in c['builders']])
-
-code_review_sites = {'chrome': ActiveMaster.code_review_site }
-
-if LISTEN_TO_RIETVELD or True:
- c['schedulers'].append(TryJobRietveld(
- name='try_job_rietveld',
- code_review_sites=code_review_sites,
- pools=pools,
- project='chrome',
- filter_master=True))
-
-# Triggerable schedulers for GPU testers.
-for gpu_builder_name, triggers in gpu_triggers.iteritems():
- c['schedulers'].append(Triggerable(
- name=gpu_builder_name,
- builderNames=triggers))
-
-# Buildbot master url:
-# Must come before AutoSetupMaster().
-if ActiveMaster.is_production_host:
- c['buildbotURL'] = ActiveMaster.buildbot_url
-else:
- c['buildbotURL'] = 'http://%s:%d/' % (
- socket.getfqdn(), ActiveMaster.master_port)
-
-# Adds common status and tools to this master.
-# Use our own mail notifier.
-master_utils.AutoSetupMaster(c, ActiveMaster, False)
-
-if MAIL_NOTIFIER:
- # Add a dumb MailNotifier first so it will be used for BuildSlave with
- # notify_on_missing set when they go missing.
- from buildbot.status import mail
- c['status'].append(mail.MailNotifier(
- fromaddr=ActiveMaster.from_address,
- builders=[],
- relayhost=config.Master.smtp,
- lookup=master_utils.UsersAreEmails()))
-
- from master import chromium_notifier
- c['status'].append(chromium_notifier.ChromiumNotifier(
- fromaddr=ActiveMaster.from_address,
- categories_steps={'': ['update_scripts']},
- relayhost=config.Master.smtp,
- status_header=
- '%(steps)s failed on slave "%(slavename)s" for builder "%(builder)s"',
- subject='%(steps)s failed on trybot %(slavename)s on %(date)s',
- sendToInterestedUsers=False,
- extraRecipients=['chrome-troopers+tryalert@google.com'],
- use_getname=True,
- enable_mail=ActiveMaster.is_production_host))
-
- # Try job result emails.
- from master.try_mail_notifier import TryMailNotifier
- c['status'].append(TryMailNotifier(
- fromaddr=ActiveMaster.from_address,
- reply_to=ActiveMaster.reply_to,
- subject="try %(result)s for %(reason)s @ r%(revision)s",
- mode='all',
- relayhost=config.Master.smtp,
- lookup=master_utils.UsersAreEmails()))
-
-if UPDATE_CODEREVIEW:
- from master.status_push import TryServerHttpStatusPush
- c['status'].append(
- TryServerHttpStatusPush(serverUrl=ActiveMaster.code_review_site))
-
-buildbucket.setup(
- c,
- ActiveMaster,
- buckets=['master.tryserver.chromium.gpu'],
-)
-
-# The followings are what is kept on disk.
-# Keep last try jobs, the default is too low. Must keep at least a few days
-# worth of try jobs. 3000 is not even a full day but the server is full. Keep
-# more build objects than log since they are much smaller.
-c['buildHorizon'] = 6000
-c['logHorizon'] = 3000
-# Must be at least 2x the number of slaves.
-c['eventHorizon'] = 200
-c['logCompressionLimit'] = False
-
-# Adjust the buildCaches to be 3x the number of slaves per builder.
-c['autoBuildCacheRatio'] = 3
-
-c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage'
-
-# vi: set ts=4 sts=2 sw=2 et:
« no previous file with comments | « masters/master.tryserver.chromium.gpu/buildbot.tac ('k') | masters/master.tryserver.chromium.gpu/master_site_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698