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

Side by Side Diff: scripts/slave/recipes/swarming/deterministic_build.py

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Recipe to test the deterministic build. 5 """Recipe to test the deterministic build.
6 6
7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall 7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall
8 8
9 """ 9 """
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 api.chromium.set_config(recipe_config['chromium_config'], 80 api.chromium.set_config(recipe_config['chromium_config'],
81 **recipe_config.get('chromium_config_kwargs', 81 **recipe_config.get('chromium_config_kwargs',
82 {'BUILD_CONFIG': 'Release'})) 82 {'BUILD_CONFIG': 'Release'}))
83 api.chromium.apply_config('clobber') 83 api.chromium.apply_config('clobber')
84 api.gclient.set_config(recipe_config['gclient_config'], 84 api.gclient.set_config(recipe_config['gclient_config'],
85 **recipe_config.get('gclient_config_kwargs', {})) 85 **recipe_config.get('gclient_config_kwargs', {}))
86 86
87 api.chromium.cleanup_temp() 87 api.chromium.cleanup_temp()
88 88
89 # Checkout chromium. 89 # Checkout chromium.
90 api.bot_update.ensure_checkout(force=True) 90 api.bot_update.ensure_checkout()
91 91
92 92
93 def ConfigureAndroidBuilder(api, recipe_config): 93 def ConfigureAndroidBuilder(api, recipe_config):
94 kwargs = { 94 kwargs = {
95 'REPO_NAME': 'src', 95 'REPO_NAME': 'src',
96 'REPO_URL': 'https://chromium.googlesource.com/chromium/src.git', 96 'REPO_URL': 'https://chromium.googlesource.com/chromium/src.git',
97 'Internal': False, 97 'Internal': False,
98 } 98 }
99 kwargs.update(recipe_config.get('chromium_config_kwargs', 99 kwargs.update(recipe_config.get('chromium_config_kwargs',
100 {'BUILD_CONFIG': 'Release'})) 100 {'BUILD_CONFIG': 'Release'}))
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 _sanitize_nonalpha(buildername)) 179 _sanitize_nonalpha(buildername))
180 yield ( 180 yield (
181 api.test(test_name) + 181 api.test(test_name) +
182 api.properties.scheduled() + 182 api.properties.scheduled() +
183 api.properties.generic(buildername=buildername, 183 api.properties.generic(buildername=buildername,
184 mastername=mastername) + 184 mastername=mastername) +
185 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + 185 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) +
186 api.properties(configuration='Release') + 186 api.properties(configuration='Release') +
187 api.step_data('remove_build_metadata', retcode=1) 187 api.step_data('remove_build_metadata', retcode=1)
188 ) 188 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698