aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-23 15:21:19 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-24 09:46:13 +0200
commitf0bbc520fefdd7fbdafcabec1643ca857f3835f4 (patch)
treee08d7a0302ced3e538c0d9c4f846fa667cc64345
parent40c688684c59ea109ad7da3f69fc2cfa4d916ba6 (diff)
downloadopenembedded-core-contrib-marquiz/buildperf/buildstats.tar.gz
build-perf-test-wrapper.sh: store buildstats under git-notesmarquiz/buildperf/buildstats
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>
-rwxr-xr-xscripts/contrib/build-perf-test-wrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index 240d669cbb..234652d7ef 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