diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-03-24 16:17:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 08:15:06 +0100 |
commit | 5e3eaf7c57ee6565080bfeab995c81c2774381fa (patch) | |
tree | 157be146cf8e3f824ff9d4b4699b4a35886733c2 /scripts/contrib/build-perf-test-wrapper.sh | |
parent | 746b6fbe6878de9af0c1e0b237d6fa2faebf4fb5 (diff) | |
download | poky-5e3eaf7c57ee6565080bfeab995c81c2774381fa.tar.gz |
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]
(From OE-Core rev: 5b52bbf09bb2fbec9d2d54f3c3c46c74a09fbfd0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/build-perf-test-wrapper.sh')
-rwxr-xr-x | scripts/contrib/build-perf-test-wrapper.sh | 2 |
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 | |||
143 | --git-dir "$results_repo" \ | 143 | --git-dir "$results_repo" \ |
144 | --branch-name "{hostname}/{branch}/{machine}" \ | 144 | --branch-name "{hostname}/{branch}/{machine}" \ |
145 | --tag-name "{hostname}/{branch}/{machine}/{commit_count}-g{commit}/{tag_number}" \ | 145 | --tag-name "{hostname}/{branch}/{machine}/{commit_count}-g{commit}/{tag_number}" \ |
146 | --exclude "buildstats.json" \ | ||
147 | --notes "buildstats/{branch_name}" "$results_dir/buildstats.json" \ | ||
146 | "$results_dir" | 148 | "$results_dir" |
147 | fi | 149 | fi |
148 | 150 | ||