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

Side by Side Diff: recipe_modules/tryserver/example.py

Issue 2468373002: Recipes: Stop using tryserver_gerrit in depot_tools. (Closed)
Patch Set: Created 4 years, 1 month 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 | « recipe_modules/bot_update/example.py ('k') | 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 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 DEPS = [ 5 DEPS = [
6 'recipe_engine/json', 6 'recipe_engine/json',
7 'recipe_engine/raw_io', 7 'recipe_engine/raw_io',
8 'recipe_engine/path', 8 'recipe_engine/path',
9 'recipe_engine/platform', 9 'recipe_engine/platform',
10 'recipe_engine/properties', 10 'recipe_engine/properties',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 yield (api.test('with_rietveld_patch') + 58 yield (api.test('with_rietveld_patch') +
59 api.properties.tryserver() + 59 api.properties.tryserver() +
60 description_step) 60 description_step)
61 61
62 yield (api.test('with_wrong_patch') + api.platform('win', 32)) 62 yield (api.test('with_wrong_patch') + api.platform('win', 32))
63 63
64 yield (api.test('with_rietveld_patch_new') + 64 yield (api.test('with_rietveld_patch_new') +
65 api.properties.tryserver(test_patch_root='sub/project') + 65 api.properties.tryserver(test_patch_root='sub/project') +
66 description_step) 66 description_step)
67 67
68 yield (api.test('with_gerrit_patch_deprecated') + 68 yield api.test('with_gerrit_patch_deprecated') + api.properties.tryserver(
69 api.properties.tryserver_gerrit( 69 patch_project='infra/infra',
70 full_project_name='infra/infra')) 70 gerrit='https://chromium-review.googlesource.com',
71 patch_storage='gerrit',
72 repository='https://chromium.googlesource.com/infra/infra',
73 rietveld=None,
74 **{
75 'event.change.id': 'infra%2Finfra~master~Ideadbeaf',
76 'event.change.number': 338811,
77 'event.change.url':
78 'https://chromium-review.googlesource.com/#/c/338811',
79 'event.patchSet.ref': 'refs/changes/11/338811/3',
80 }
81 )
71 82
72 yield (api.test('with_gerrit_patch') + 83 yield (api.test('with_gerrit_patch') +
73 api.properties.tryserver(gerrit_project='infra/infra')) 84 api.properties.tryserver(gerrit_project='infra/infra'))
74 85
75 yield (api.test('with_wrong_patch_new') + api.platform('win', 32) + 86 yield (api.test('with_wrong_patch_new') + api.platform('win', 32) +
76 api.properties(test_patch_root='sub\\project')) 87 api.properties(test_patch_root='sub\\project'))
77 88
78 yield (api.test('basic_tags') + 89 yield (api.test('basic_tags') +
79 api.properties( 90 api.properties(
80 patch_text='hihihi\nfoo:bar\nbam:baz', 91 patch_text='hihihi\nfoo:bar\nbam:baz',
81 footer='foo' 92 footer='foo'
82 ) + 93 ) +
83 api.step_data( 94 api.step_data(
84 'parse description', 95 'parse description',
85 api.json.output({'Foo': ['bar']})) + 96 api.json.output({'Foo': ['bar']})) +
86 api.step_data( 97 api.step_data(
87 'parse description (2)', 98 'parse description (2)',
88 api.json.output({'Foo': ['bar']})) 99 api.json.output({'Foo': ['bar']}))
89 ) 100 )
OLDNEW
« no previous file with comments | « recipe_modules/bot_update/example.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698