]> 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:14:27 +0000 (16:14 -0500)
commit8a3e3af0fa31fa507051d8b3b2812e67c937318c
treed9060f0c657ea7219392e2989567fad943a7980b
parent4304f848e63c12239b7ffc3adc70a9b04eb33056
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