aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json')
-rw-r--r--infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json45
1 files changed, 39 insertions, 6 deletions
diff --git a/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json b/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json
index 8cee6d4e84..3e2bbfed52 100644
--- a/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json
+++ b/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.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-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw"
+ "[START_DIR]/raw_data.profraw.tar.gz",
+ "gs://skia-coverage-alt/commit/abc123/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"
},