]> 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>
Thu, 31 Jul 2025 21:55:18 +0000 (17:55 -0400)
commit1b911454b7e532198765102c1ee110f20ec47478
tree8a150c3018121d930d35cddfa9addd0c745bdc90
parente3b383c484e687a974932204a965f45be81fcfdc
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