OLD | NEW |
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 """Findit for Waterfall configuration.""" | 5 """Findit for Waterfall configuration.""" |
6 | 6 |
7 from google.appengine.ext import ndb | 7 from google.appengine.ext import ndb |
8 | 8 |
9 from model.versioned_config import VersionedConfig | 9 from gae_libs.model.versioned_config import VersionedConfig |
10 | 10 |
11 | 11 |
12 class FinditConfig(VersionedConfig): | 12 class FinditConfig(VersionedConfig): |
13 """Global configuration of findit.""" | 13 """Global configuration of findit.""" |
14 # Deprecated: A dict mapping supported masters to lists of unsupported steps. | 14 # Deprecated: A dict mapping supported masters to lists of unsupported steps. |
15 # The previous format of this dict is no longer also be supported, but is | 15 # The previous format of this dict is no longer also be supported, but is |
16 # instead converted to the new version at runtime if detected. | 16 # instead converted to the new version at runtime if detected. |
17 # { | 17 # { |
18 # master_name1: [unsupported_step1, unsupported_step2, ...], | 18 # master_name1: [unsupported_step1, unsupported_step2, ...], |
19 # master_name2: [...], | 19 # master_name2: [...], |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 # { | 94 # { |
95 # 'lower_flake_threshold': 0.02, | 95 # 'lower_flake_threshold': 0.02, |
96 # 'upper_flake_threshold': 0.98, | 96 # 'upper_flake_threshold': 0.98, |
97 # 'max_flake_in_a_row': 4, | 97 # 'max_flake_in_a_row': 4, |
98 # 'max_stable_in_a_row': 4, | 98 # 'max_stable_in_a_row': 4, |
99 # 'iterations_to_rerun': 100, | 99 # 'iterations_to_rerun': 100, |
100 # 'max_build_numbers_to_look_back': 500, | 100 # 'max_build_numbers_to_look_back': 500, |
101 # 'update_monorail_bug': False, | 101 # 'update_monorail_bug': False, |
102 # } | 102 # } |
103 check_flake_settings = ndb.JsonProperty(indexed=False, default={}) | 103 check_flake_settings = ndb.JsonProperty(indexed=False, default={}) |
OLD | NEW |