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

Unified Diff: infra/bots/recipes/swarm_RecreateSKPs.py

Issue 2444883002: Add infra recipe module, use for updating Go DEPS (Closed)
Patch Set: Created 4 years, 2 months 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
Index: infra/bots/recipes/swarm_RecreateSKPs.py
diff --git a/infra/bots/recipes/swarm_RecreateSKPs.py b/infra/bots/recipes/swarm_RecreateSKPs.py
index eb924840686a666a5d639935705879a7d46a4d14..d13e7507cc4c6136eb59c4c7a7334e6267975aeb 100644
--- a/infra/bots/recipes/swarm_RecreateSKPs.py
+++ b/infra/bots/recipes/swarm_RecreateSKPs.py
@@ -10,6 +10,7 @@ DEPS = [
'build/file',
'core',
'depot_tools/gclient',
+ 'infra',
'recipe_engine/path',
'recipe_engine/properties',
'recipe_engine/python',
@@ -136,9 +137,11 @@ def RunSteps(api):
# Upload the SKPs.
if 'Canary' not in api.properties['buildername']:
+ api.infra.update_go_deps()
cmd = ['python',
api.vars.skia_dir.join('infra', 'bots', 'upload_skps.py'),
'--target_dir', output_dir]
+ env.update(api.infra.go_env)
with depot_tools_auth(api, UPDATE_SKPS_KEY):
api.step('Upload SKPs',
cmd=cmd,

Powered by Google App Engine
This is Rietveld 408576698