| Index: configs/chromium/slave/buildbot.tac
|
| diff --git a/configs/chromium/slave/buildbot.tac b/configs/chromium/slave/buildbot.tac
|
| deleted file mode 100644
|
| index 4f5d1db30c4d39cc2469fc3f993e20f82f354eaa..0000000000000000000000000000000000000000
|
| --- a/configs/chromium/slave/buildbot.tac
|
| +++ /dev/null
|
| @@ -1,69 +0,0 @@
|
| -# -*- python -*-
|
| -# ex: set syntax=python:
|
| -
|
| -# Copyright (c) 2010 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.
|
| -
|
| -# Chrome Buildbot slave configuration
|
| -
|
| -import os
|
| -import sys
|
| -
|
| -from twisted.application import service
|
| -# python module paths changed from buildbot-7 to buildbot-8; support both
|
| -try:
|
| - from buildbot.slave.bot import BuildSlave
|
| -except ImportError:
|
| - from buildslave.bot import BuildSlave
|
| -
|
| -# Register the commands.
|
| -from slave import chromium_commands
|
| -from slave import slave_utils
|
| -# Load default settings.
|
| -import config
|
| -
|
| -
|
| -# Determines the slave type:
|
| -ActiveMaster = config.Master.ChromiumFYI
|
| -
|
| -
|
| -# Slave properties:
|
| -slavename = None
|
| -password = config.Master.GetBotPassword()
|
| -host = None
|
| -port = None
|
| -basedir = None
|
| -keepalive = 600
|
| -usepty = 1
|
| -umask = None
|
| -
|
| -
|
| -if slavename is None:
|
| - # Automatically determine the host name.
|
| - import socket
|
| - slavename = socket.getfqdn().split('.')[0].lower()
|
| -
|
| -if password is None:
|
| - msg = '*** No password configured in %s.\n' % repr(__file__)
|
| - sys.stderr.write(msg)
|
| - sys.exit(1)
|
| -
|
| -if ActiveMaster is None:
|
| - ActiveMaster = slave_utils.GetActiveMasterConfig()
|
| -
|
| -if host is None:
|
| - host = ActiveMaster.master_host
|
| -
|
| -if port is None:
|
| - port = ActiveMaster.slave_port
|
| -
|
| -if basedir is None:
|
| - dir, _file = os.path.split(__file__)
|
| - basedir = os.path.abspath(dir)
|
| -
|
| -
|
| -application = service.Application('buildslave')
|
| -s = BuildSlave(host, port, slavename, password, basedir, keepalive, usepty,
|
| - umask=umask)
|
| -s.setServiceParent(application)
|
|
|