[autotest] Do not deploy_production in crash server
BUG=None
TEST=push to prod
Change-Id: I321f44d568e6f07e386c42f9d87e63b11a4e412a
Reviewed-on: https://chromium-review.googlesource.com/273723
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
diff --git a/contrib/deploy_production.py b/contrib/deploy_production.py
index ec5df7f..ed13336 100755
--- a/contrib/deploy_production.py
+++ b/contrib/deploy_production.py
@@ -36,8 +36,9 @@
if (s['status'] != 'repair_required' and
(not server_filter or s['hostname'] in server_filter))]
- # Do not update devservers (not YET supported).
- servers = [s for s in servers if 'devserver' not in s['roles']]
+ # Do not update devserver or crash_server (not YET supported).
+ servers = [s for s in servers if 'devserver' not in s['roles'] and
+ 'crash_server' not in s['roles']]
def update_order(s):
"""Sort order for updating servers (lower first).