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

Side by Side Diff: appengine/chromium_rietveld/codereview/models_chromium.py

Issue 1954253003: Skip Findit variable builders as cq builders (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2008 Google Inc. 1 # Copyright 2008 Google Inc.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 for builder in parsed_json: 192 for builder in parsed_json:
193 # Exclude triggered bots: they are not to be triggered directly but 193 # Exclude triggered bots: they are not to be triggered directly but
194 # by another bot. 194 # by another bot.
195 if 'triggered' in builder: 195 if 'triggered' in builder:
196 continue 196 continue
197 197
198 # Skip bisect bots to declutter the UI. 198 # Skip bisect bots to declutter the UI.
199 if 'bisect' in builder: 199 if 'bisect' in builder:
200 continue 200 continue
201 201
202 # Skip Findit try bots.
203 if 'variable' in builder:
204 continue
205
202 category = parsed_json[builder].get('category', 'None') 206 category = parsed_json[builder].get('category', 'None')
203 new_json_contents.setdefault(tryserver, {}).setdefault( 207 new_json_contents.setdefault(tryserver, {}).setdefault(
204 category, []).append(builder) 208 category, []).append(builder)
205 209
206 instance = cls.get_instance() 210 instance = cls.get_instance()
207 instance.json_contents = json.dumps(new_json_contents) 211 instance.json_contents = json.dumps(new_json_contents)
208 instance.put() 212 instance.put()
209 cls._prepare_and_cache_curated_tryservers(new_json_contents) 213 cls._prepare_and_cache_curated_tryservers(new_json_contents)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698