Index: infra/bots/recipes/swarm_test.expected/nobuildbot.json |
diff --git a/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json b/infra/bots/recipes/swarm_test.expected/nobuildbot.json |
similarity index 92% |
copy from infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json |
copy to infra/bots/recipes/swarm_test.expected/nobuildbot.json |
index a00b4537c6e5a7a1b7b13375f54f13646b733852..85bc0564349a41f8de7f64e3aca5dcf06a915f8a 100644 |
--- a/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json |
+++ b/infra/bots/recipes/swarm_test.expected/nobuildbot.json |
@@ -175,7 +175,34 @@ |
}, |
{ |
"cmd": [ |
- "catchsegv", |
+ "python", |
+ "-u", |
+ "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" |
+ ], |
+ "name": "get swarming bot id", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@import os@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" |
+ ], |
+ "name": "get swarming task id", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@import os@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
"[SLAVE_BUILD]/out/Debug/dm", |
"--undefok", |
"--resourcePath", |
@@ -202,6 +229,12 @@ |
"2", |
"patch_storage", |
"gerrit", |
+ "no_buildbot", |
+ "True", |
+ "swarming_bot_id", |
+ "skia-bot-123", |
+ "swarming_task_id", |
+ "123456", |
"--svgs", |
"[SLAVE_BUILD]/svg", |
"--key", |
@@ -459,7 +492,11 @@ |
"_", |
"gamut" |
], |
- "cwd": "[SLAVE_BUILD]/skia", |
+ "env": { |
+ "BUILDTYPE": "Debug", |
+ "CHROME_HEADLESS": "1", |
+ "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ }, |
"name": "dm" |
}, |
{ |