]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/build-with-container: add a common packages target
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 14 Feb 2025 19:50:42 +0000 (14:50 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Mar 2025 21:13:16 +0000 (16:13 -0500)
commitc63344e6e3b0f61c9e51d8e08f9d111e2a48390d
treed0c7a4a530fdcf3cc4df7c81a44a2cd6ee29c50e
parentb63aeb861e112fe43e3c32850dac1d522c481902
script/build-with-container: add a common packages target

Add a `packages` target to build-with-container.py that requests a build
of packages, whatever package type is native to the distro selected.
For example `./src/script/build-with-container.py -d ubuntu22.04 -e
packages` will automatically select a deb packages build where
`./src/script/build-with-container.py -d centos9 -e packages` will
trigger rpm packages to be built. The underlying package-type specific
targets remain unchanged.

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