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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/bot_update/example.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/tryserver/example.py
diff --git a/recipe_modules/tryserver/example.py b/recipe_modules/tryserver/example.py
index 025f258553ba121b9e16731c3c819549d984644f..5156c5c70bfab9abcca0f81d6c14ffe09ec8c00f 100644
--- a/recipe_modules/tryserver/example.py
+++ b/recipe_modules/tryserver/example.py
@@ -65,9 +65,20 @@ def GenTests(api):
api.properties.tryserver(test_patch_root='sub/project') +
description_step)
- yield (api.test('with_gerrit_patch_deprecated') +
- api.properties.tryserver_gerrit(
- full_project_name='infra/infra'))
+ yield api.test('with_gerrit_patch_deprecated') + api.properties.tryserver(
+ patch_project='infra/infra',
+ gerrit='https://chromium-review.googlesource.com',
+ patch_storage='gerrit',
+ repository='https://chromium.googlesource.com/infra/infra',
+ rietveld=None,
+ **{
+ 'event.change.id': 'infra%2Finfra~master~Ideadbeaf',
+ 'event.change.number': 338811,
+ 'event.change.url':
+ 'https://chromium-review.googlesource.com/#/c/338811',
+ 'event.patchSet.ref': 'refs/changes/11/338811/3',
+ }
+ )
yield (api.test('with_gerrit_patch') +
api.properties.tryserver(gerrit_project='infra/infra'))
« 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