| Index: scripts/slave/recipes/cros/cbuildbot.py
|
| diff --git a/scripts/slave/recipes/cros/cbuildbot.py b/scripts/slave/recipes/cros/cbuildbot.py
|
| index 04cd9cf17b1d3c6e48bd8d65470475c39358519c..f7f9bb50111a7e9d0ed2b4a1fbd8c686dcefef1a 100644
|
| --- a/scripts/slave/recipes/cros/cbuildbot.py
|
| +++ b/scripts/slave/recipes/cros/cbuildbot.py
|
| @@ -45,6 +45,8 @@ def RunSteps(api):
|
|
|
|
|
| def GenTests(api):
|
| + import json
|
| +
|
| #
|
| # master.chromiumos.chromium
|
| #
|
| @@ -126,6 +128,33 @@ def GenTests(api):
|
| )
|
| )
|
|
|
| + # Test a ChromiumOS Paladin build that was configured using BuildBucket
|
| + # instead of a manifest.
|
| + yield (
|
| + api.test('chromiumos_paladin_buildbucket')
|
| + + api.properties(
|
| + mastername='chromiumos',
|
| + buildername='Test',
|
| + slavename='test',
|
| + buildnumber='12345',
|
| + cbb_config='auron-paladin',
|
| + cbb_branch='master',
|
| + cbb_master_build_id='24601',
|
| + repository='https://chromium.googlesource.com/chromiumos/'
|
| + 'manifest-versions',
|
| + revision=api.gitiles.make_hash('test'),
|
| + buildbucket=json.dumps({
|
| + 'build': {
|
| + 'id': '1337',
|
| + },
|
| + }),
|
| + )
|
| + + api.chromite.add_chromite_config(
|
| + 'auron-paladin',
|
| + build_type='paladin',
|
| + )
|
| + )
|
| +
|
| #
|
| # [Coverage]
|
| #
|
|
|