]> 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)
committerDavid Galloway <david.galloway@ibm.com>
Fri, 15 Aug 2025 17:56:46 +0000 (13:56 -0400)
commit6748198f499693cc15adb5c607f19d97c39a907a
tree50d3cacdfef78c12b91c864806004bbbdef23344
parente09268ce25463657b1f537f1ae00e177361b45c9
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