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

Unified Diff: configs/chromium/slave/buildbot.tac

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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
« no previous file with comments | « configs/chromium/slave/Makefile ('k') | configs/chromium/slave/cert/ssl_ui_test_root_ca.crt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « configs/chromium/slave/Makefile ('k') | configs/chromium/slave/cert/ssl_ui_test_root_ca.crt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698