From: Markus Lehtonen Date: Thu, 23 Mar 2017 13:21:19 +0000 (+0200) Subject: build-perf-test-wrapper.sh: store buildstats under git-notes X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmarquiz%2Fbuildperf%2Fbuildstats;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git build-perf-test-wrapper.sh: store buildstats under git-notes 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 --- diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh index 240d669cbb4..234652d7eff 100755 --- a/scripts/contrib/build-perf-test-wrapper.sh +++ b/scripts/contrib/build-perf-test-wrapper.sh @@ -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