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: gclient.py

Issue 132313017: gclient: Use the correct bot hostnames to enable experimental deletion behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 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
« no previous file with comments | « no previous file | tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index f68b01ebf2f8acec9a9e6616a39b9bd56f098cdf..ce1fcbd3f63325cdb18e629e75627d0463cabc21 100755
--- a/gclient.py
+++ b/gclient.py
@@ -680,9 +680,8 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
# doesn't cause the bots to break.
if not os.environ.get('CHROME_HEADLESS'):
return False
- hostname = socket.gethostname()
- logging.warning('Hostname of this machine: %s' % hostname)
- return hostname in ('vm859-m1', 'build1-m1', 'vm630-m1')
+ return socket.gethostname() in ('vm859-m1', 'BUILD1-M1',
+ 'vm630-m1.golo.chromium.org')
# When updating, determine whether the destination directory contains a
# checkout of the desired repository. If not, avoid conflicts by
« no previous file with comments | « no previous file | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698