]> code.ossystems Code Review - openembedded-core.git/commitdiff
build-perf-test-wrapper.sh: store buildstats under git-notes
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 24 Mar 2017 14:17:30 +0000 (16:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Mar 2017 12:17:03 +0000 (13:17 +0100)
In order to dramatically reduce the data footprint of the result
branches. This makes cloning/pulling result repositories a lot faster.
Buildstats can still be accessed, when needed by doing
git fetch refs/notes/buildstats/*:refs/notes/buildstats/*

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/build-perf-test-wrapper.sh

index 240d669cbb4c17a58b1d993668ce0202442f21ba..234652d7eff1df69c87f60c40ff3c90fd57ff706 100755 (executable)
@@ -143,6 +143,8 @@ if [ -n "$results_repo" ]; then
         --git-dir "$results_repo" \
         --branch-name "{hostname}/{branch}/{machine}" \
         --tag-name "{hostname}/{branch}/{machine}/{commit_count}-g{commit}/{tag_number}" \
+        --exclude "buildstats.json" \
+        --notes "buildstats/{branch_name}" "$results_dir/buildstats.json" \
         "$results_dir"
 fi