]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/cpatch.py: add a --run-before argument to run commands
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 27 Mar 2024 18:30:01 +0000 (14:30 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 27 Mar 2024 18:30:01 +0000 (14:30 -0400)
commited48018546b93922b5a9f28426200ded8d46fa36
treeb50e84defdea6b703a6e016f2a82e61b9c49d416
parentd82c9aa17f09785fe698d262f9601d87bb79f962
script/cpatch.py: add a --run-before argument to run commands

Add a `--run-before` command line argument to cpatch.py that allows
commands to be executed before doing any other layer generation.
This supports actions like customizing packages installed in the
image. Something that can be handy when developing new features.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/cpatch.py