[PATCH 00/19] oe-build-pef-test: support saving results in a Git repo

Markus Lehtonen
2016-08-24T07:13:23Z

This patchset makes it possible to store build performance test results in a
Git repository. The support is written directly in oe-build-perf-test script
which hopefully makes it easier use. The new feature is disabled by default,
and, it must be enabled with --commit-results option. Further command line
options allow customization of the branch and tag names to use for the results.

[YOCTO #9624]

The following changes since commit 25f6af8895d5f5c6dcedde0a21285d63522769c8:

oeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror (2016-08-23 17:59:20 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/git
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/git

Markus Lehtonen (19):
oe-build-perf-test: implement --run-tests option
oe-build-perf-test: use absolute paths in cmdline args
oeqa.utils.git: support git commands with updated env
oeqa.utils.git: introduce GitRepo.rev_parse()
oeqa.utils.git: implement GitRepo.get_current_branch()
oeqa.utils.git.GitRepo: new arg to require topdir
oeqa.buildperf: use term commit instead of revision
oe-build-perf-test: support committing results data to Git
oe-build-perf-test: implement --commit-results-branch
oeqa.utils.git: implement init() method
oe-build-perf-test: pre-check Git repo when using --commit-results
oe-build-perf-test: tag results committed to Git
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag
oeqa.buildperf: add git commit count to result data
oe-build-perf-test: add {git_commit_count} keyword for
--commit-results-tag
build-perf-test-wrapper.sh: parse args with getopts
build-perf-test-wrapper.sh: allow saving results in Git
build-perf-test-wrapper.sh: make archive dir configurable
build-perf-test-wrapper.sh: make workdir configurable

meta/lib/oeqa/buildperf/base.py | 102 +++++++++++++++++++++++------
meta/lib/oeqa/utils/git.py | 38 +++++++++--
scripts/contrib/build-perf-test-wrapper.sh | 70 +++++++++++++++-----
scripts/oe-build-perf-test | 51 ++++++++++++++-
4 files changed, 218 insertions(+), 43 deletions(-)

--
2.6.6