mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag
This makes it possible to create numbered tags, where the "basename" of
the tag is the same and the only difference is an (automatically)
increasing index number. This is useful if you do multiple test runs on
the same commit. For example, using:
--commit-results-tag {tester_host}/{git_commit}/{tag_num}
would give you tags something like:
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/0
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/1
...
The default tag format is updated to use this new keyword in order to
prevent unintentional tag name clashes.
(From OE-Core rev: cf2aba16338a147f81802f48d2e24a96c7133548)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06b2c75c7e
commit
caf6ad889c
@@ -140,7 +140,7 @@ def parse_args(argv):
|
||||
default="{git_branch}",
|
||||
help="Commit results to branch BRANCH.")
|
||||
parser.add_argument('--commit-results-tag', metavar='TAG',
|
||||
default="{git_branch}/{git_commit}",
|
||||
default="{git_branch}/{git_commit}/{tag_num}",
|
||||
help="Tag results commit with TAG.")
|
||||
|
||||
return parser.parse_args(argv)
|
||||
|
||||
Reference in New Issue
Block a user