aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_coverage_results.expected/trybot.json
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-10-17 13:40:52 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-17 21:10:17 +0000
commit32f318bad4024b4c9f9a817416de83f4eb6ec7d4 (patch)
treef78665843d8b5908bc1bf28d6b091910c2a86f27 /infra/bots/recipes/upload_coverage_results.expected/trybot.json
parentd5c128bd7ecc8c932be1d404010f9189e8045ca1 (diff)
Shard GCE Coverage bot to decrease latency
Bug: skia: Change-Id: I28d28f514b46ad0c30109beba90ae8a1bd8fc4e3 Reviewed-on: https://skia-review.googlesource.com/59961 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'infra/bots/recipes/upload_coverage_results.expected/trybot.json')
-rw-r--r--infra/bots/recipes/upload_coverage_results.expected/trybot.json45
1 files changed, 39 insertions, 6 deletions
diff --git a/infra/bots/recipes/upload_coverage_results.expected/trybot.json b/infra/bots/recipes/upload_coverage_results.expected/trybot.json
index 2e12fddea1..938b3280b4 100644
--- a/infra/bots/recipes/upload_coverage_results.expected/trybot.json
+++ b/infra/bots/recipes/upload_coverage_results.expected/trybot.json
@@ -1,22 +1,55 @@
[
{
"cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "glob",
+ "[START_DIR]",
+ "*.profraw"
+ ],
+ "infra_step": true,
+ "name": "find raw inputs",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@glob@[START_DIR]/a.raw@@@",
+ "@@@STEP_LOG_LINE@glob@[START_DIR]/b.raw@@@",
+ "@@@STEP_LOG_LINE@glob@[START_DIR]/c.raw@@@",
+ "@@@STEP_LOG_END@glob@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "tar",
+ "-zcvf",
+ "[START_DIR]/raw_data.profraw.tar.gz",
+ "[START_DIR]/a.raw",
+ "[START_DIR]/b.raw",
+ "[START_DIR]/c.raw"
+ ],
+ "name": "create raw data archive"
+ },
+ {
+ "cmd": [
"gsutil",
"cp",
- "-Z",
- "[START_DIR]/output.profraw",
- "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw"
+ "[START_DIR]/raw_data.profraw.tar.gz",
+ "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw.tar.gz"
],
- "name": "upload raw data"
+ "name": "upload raw data archive"
},
{
"cmd": [
"[START_DIR]/clang_linux/bin/llvm-profdata",
"merge",
"-sparse",
- "[START_DIR]/output.profraw",
"-o",
- "[START_DIR]/output.profdata"
+ "[START_DIR]/output.profdata",
+ "[START_DIR]/a.raw",
+ "[START_DIR]/b.raw",
+ "[START_DIR]/c.raw"
],
"name": "merge and index"
},