aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/core/examples/full.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipe_modules/core/examples/full.py')
-rw-r--r--infra/bots/recipe_modules/core/examples/full.py27
1 files changed, 9 insertions, 18 deletions
diff --git a/infra/bots/recipe_modules/core/examples/full.py b/infra/bots/recipe_modules/core/examples/full.py
index 4718ddf72e..f3cfb29ca7 100644
--- a/infra/bots/recipe_modules/core/examples/full.py
+++ b/infra/bots/recipe_modules/core/examples/full.py
@@ -5,16 +5,24 @@
DEPS = [
'core',
+ 'recipe_engine/file',
'recipe_engine/path',
'recipe_engine/properties',
+ 'run',
+ 'vars',
]
def RunSteps(api):
+ api.vars.setup()
bot_update = True
if 'NoDEPS' in api.properties['buildername']:
bot_update = False
- api.core.setup(bot_update=bot_update)
+ if bot_update:
+ api.core.checkout_bot_update()
+ else:
+ api.core.checkout_git()
+ api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)
def GenTests(api):
@@ -61,23 +69,6 @@ def GenTests(api):
)
)
- buildername = ('Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-' +
- 'Debug-All-ANGLE')
- yield (
- api.test('no_persistent_checkout') +
- api.properties(buildername=buildername,
- repository='https://skia.googlesource.com/skia.git',
- revision='abc123',
- path_config='kitchen',
- swarm_out_dir='[SWARM_OUT_DIR]') +
- api.properties(patch_storage='gerrit') +
- api.properties.tryserver(
- buildername=buildername,
- gerrit_project='skia',
- gerrit_url='https://skia-review.googlesource.com/',
- )
- )
-
buildername = 'Build-Debian9-GCC-x86_64-Release-Flutter_Android'
yield (
api.test('flutter_trybot') +