| Index: recipe_modules/bot_update/example.py
|
| diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py
|
| index 24bc89b9084d54c0a76a07d6088c02c3ec9e5096..f0b14470b911f2058a1c011687f6374bdc65d23c 100644
|
| --- a/recipe_modules/bot_update/example.py
|
| +++ b/recipe_modules/bot_update/example.py
|
| @@ -31,6 +31,7 @@ def RunSteps(api):
|
| with_branch_heads = api.properties.get('with_branch_heads', False)
|
| refs = api.properties.get('refs', [])
|
| oauth2 = api.properties.get('oauth2', False)
|
| + oauth2_json = api.properties.get('oauth2_json', None)
|
| root_solution_revision = api.properties.get('root_solution_revision')
|
| suffix = api.properties.get('suffix')
|
| gerrit_no_reset = True if api.properties.get('gerrit_no_reset') else False
|
| @@ -50,6 +51,7 @@ def RunSteps(api):
|
| with_branch_heads=with_branch_heads,
|
| output_manifest=output_manifest,
|
| refs=refs, patch_oauth2=oauth2,
|
| + oauth2_json=oauth2_json,
|
| clobber=clobber,
|
| root_solution_revision=root_solution_revision,
|
| suffix=suffix,
|
| @@ -98,6 +100,12 @@ def GenTests(api):
|
| slavename='totallyaslave-c4',
|
| oauth2=True,
|
| )
|
| + yield api.test('trychange_oauth2_json') + api.properties(
|
| + mastername='tryserver.chromium.linux',
|
| + buildername='linux_rel',
|
| + slavename='totallyaslave-c4',
|
| + oauth2_json='/creds/something',
|
| + )
|
| yield api.test('tryjob_fail') + api.properties(
|
| mastername='tryserver.chromium.linux',
|
| buildername='linux_rel',
|
|
|