]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/build-with-container: cache git branch result
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 21 Mar 2025 18:28:25 +0000 (14:28 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Aug 2025 20:51:21 +0000 (16:51 -0400)
commitb9d6ac6cca6beecf6e72b56b3fe7bf62ca952b1a
tree313e43f136ec09e183b9a81cb73fe2ff7545fc1d
parente1c877160c68a5117c944158b9fe260a04285dba
script/build-with-container: cache git branch result

Cache the branch we got from the git command as it is highly unlikely
to change during the script execution and if it does -- we mostly don't
care anyway.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit e562aa086197c2950c9ebb9f8f112e88e1e6e666)
src/script/build-with-container.py