]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/build-with-container: add --base-branch cli option
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 14 Feb 2025 16:37:04 +0000 (11:37 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Mar 2025 21:13:16 +0000 (16:13 -0500)
commit5e81f758ef66f333543203e6ceec4ef9e1cbcb8b
tree1e37138802e76cc7e80c17a8dc3265fc2b6cd247
parent05defef1593b6669a0d3707afd9630c6a506ede6
script/build-with-container: add --base-branch cli option

Add a command line option --base-branch that allows the user to supply a
custom base branch name. git doesn't make determining this easy so we
always assume a base branch of 'main' by default - but this option lets
one change that.

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