diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2020-04-30 15:10:46 -0500 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2020-05-01 08:44:54 +0000 |
commit | 374682036277ee60fb757ef56935f16f8a823770 (patch) | |
tree | d653517ebcf4bb1f01e0396f42194768fbe69b79 /trigger-linux-stable-rc.yaml | |
parent | e4711389fc3f46b880043d64e609c816824f8346 (diff) |
trigger-linux-stable-rc: Git-describe using 12-hexdigits
Somewhat recently, the output of git-describe went from using
12-chars to 13-chars for the SHA. So, instead of
v5.6.7-168-g853ae83af7cc
Git started to descrbe that same commit as
v5.6.7-168-g853ae83af7cc6
That's not a problem for Git, there is no ambiguity, but we
use the git-description as the build ID in QA Reports, so for
the same git-commit we now have 2 different builds:
https://qa-reports.linaro.org/lkft/linux-stable-rc-5.6-oe/build/v5.6.7-168-g853ae83af7cc/
https://qa-reports.linaro.org/lkft/linux-stable-rc-5.6-oe/build/v5.6.7-168-g853ae83af7cc6/
which is very undesirable.
(The other build comes from another source, LKFT 2.0, which is
taking the git-description from Tuxbuild.)
This patch sets the number of hex digits to 12, which seems to
be a prevalent usage and good enough for now. In fact, this
fixes the (unexpected) change of behavior of going to 13-
digits. We can change this to 13 when we so desire by
adjusting this number here.
Change-Id: I4a14cf724a6711b9d34e6ded11a87d206cf0053a
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'trigger-linux-stable-rc.yaml')
-rw-r--r-- | trigger-linux-stable-rc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trigger-linux-stable-rc.yaml b/trigger-linux-stable-rc.yaml index d654fe85f7..72665607ac 100644 --- a/trigger-linux-stable-rc.yaml +++ b/trigger-linux-stable-rc.yaml @@ -48,7 +48,7 @@ MAKE_KERNELVERSION=$(make kernelversion) KERNEL_BRANCH=${GIT_BRANCH#linux-stable-rc/} - KERNEL_DESCRIBE=$(git describe --always) + KERNEL_DESCRIBE=$(git describe --always --abbrev=12) params=lkft-${KERNEL_BRANCH}.txt echo KERNEL_DESCRIBE=${KERNEL_DESCRIBE} >> $params |