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

Side by Side Diff: appengine/findit/waterfall/waterfall_config.py

Issue 1999653003: [Findit] Bailing out if build data is too old and moving relevant settings to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Determines support level for different steps for masters.""" 5 """Determines support level for different steps for masters."""
6 6
7 from model.wf_config import FinditConfig 7 from model.wf_config import FinditConfig
8 8
9 # Explicitly list unsupported masters. Additional work might be needed in order 9 # Explicitly list unsupported masters. Additional work might be needed in order
10 # to support them. 10 # to support them.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 wf_mastername, {}).get(wf_buildername, {}) 154 wf_mastername, {}).get(wf_buildername, {})
155 return trybot_config.get('not_run_tests', False) 155 return trybot_config.get('not_run_tests', False)
156 156
157 157
158 def GetTryJobSettings(): 158 def GetTryJobSettings():
159 return FinditConfig().Get().try_job_settings 159 return FinditConfig().Get().try_job_settings
160 160
161 161
162 def GetSwarmingSettings(): 162 def GetSwarmingSettings():
163 return FinditConfig().Get().swarming_settings 163 return FinditConfig().Get().swarming_settings
164
165
166 def GetDownloadBuildDataSettings():
167 return FinditConfig().Get().download_build_data_settings
168
chanli 2016/05/20 23:53:54 nit: empty line
OLDNEW
« appengine/findit/waterfall/build_util.py ('K') | « appengine/findit/waterfall/try_job_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698