Index: infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json |
diff --git a/infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json b/infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json |
index 05e83a393c2c4ec242d0a31e6be204c30d679c1b..15feac8777a35537c416531312ed26a8c766d404 100644 |
--- a/infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json |
+++ b/infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json |
@@ -245,6 +245,18 @@ |
}, |
{ |
"cmd": [ |
+ "go", |
+ "get", |
+ "-u", |
+ "go.skia.org/infra/..." |
+ ], |
+ "env": { |
+ "GOPATH": "[CUSTOM_/_B_WORK]/gopath" |
+ }, |
+ "name": "update go pkgs" |
+ }, |
+ { |
+ "cmd": [ |
"python", |
"-u", |
"\nimport os\nimport urllib2\n\nTOKEN_FILE = '.depot_tools_oauth2_tokens'\nTOKEN_FILE_BACKUP = '.depot_tools_oauth2_tokens.old'\nTOKEN_URL = 'http://metadata/computeMetadata/v1/project/attributes/depot_tools_auth_update_skps'\n\nreq = urllib2.Request(TOKEN_URL, headers={'Metadata-Flavor': 'Google'})\ncontents = urllib2.urlopen(req).read()\n\nhome = os.path.expanduser('~')\ntoken_file = os.path.join(home, TOKEN_FILE)\nif os.path.isfile(token_file):\n os.rename(token_file, os.path.join(home, TOKEN_FILE_BACKUP))\n\nwith open(token_file, 'w') as f:\n f.write(contents)\n" |
@@ -282,6 +294,7 @@ |
"cwd": "[CUSTOM_/_B_WORK]/skia", |
"env": { |
"CHROME_HEADLESS": "1", |
+ "GOPATH": "[CUSTOM_/_B_WORK]/gopath", |
"PATH": "[DEPOT_TOOLS]:%(PATH)s" |
}, |
"name": "Upload SKPs" |