Commit 82439aab authored by mmoss@chromium.org's avatar mmoss@chromium.org

Revert 250524 "gclient: Use the correct bot hostnames to enable ..."

> gclient: Use the correct bot hostnames to enable experimental deletion behavior
> 
> BUG=skia:1638
> 
> Review URL: https://codereview.chromium.org/132313017

TBR=borenet@google.com

Review URL: https://codereview.chromium.org/143183008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250877 0039d316-1c4b-4281-b951-d872f2087c98
parent 38e9461c
...@@ -680,8 +680,9 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): ...@@ -680,8 +680,9 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
# doesn't cause the bots to break. # doesn't cause the bots to break.
if not os.environ.get('CHROME_HEADLESS'): if not os.environ.get('CHROME_HEADLESS'):
return False return False
return socket.gethostname() in ('vm859-m1', 'BUILD1-M1', hostname = socket.gethostname()
'vm630-m1.golo.chromium.org') logging.warning('Hostname of this machine: %s' % hostname)
return hostname in ('vm859-m1', 'build1-m1', 'vm630-m1')
# When updating, determine whether the destination directory contains a # When updating, determine whether the destination directory contains a
# checkout of the desired repository. If not, avoid conflicts by # checkout of the desired repository. If not, avoid conflicts by
......
...@@ -1396,8 +1396,7 @@ class GClientSmokeBoth(GClientSmokeBase): ...@@ -1396,8 +1396,7 @@ class GClientSmokeBoth(GClientSmokeBase):
# TODO(borenet): Enable this at the same time that the guard is removed in # TODO(borenet): Enable this at the same time that the guard is removed in
# gclient. # gclient.
if (os.environ.get('CHROME_HEADLESS') and if (os.environ.get('CHROME_HEADLESS') and
socket.gethostname() in ('vm859-m1', 'BUILD1-M1', socket.gethostname() in ('vm859-m1', 'build1-m1', 'vm630-m1')):
'vm630-m1.golo.chromium.org')):
def testDeleteConflictingCheckout(self): def testDeleteConflictingCheckout(self):
if not self.enabled: if not self.enabled:
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment