toolkit/mangle/generators/generate_comps

20 lines
425 B
Text
Raw Normal View History

2022-08-08 19:47:16 +00:00
#!/bin/bash
2024-02-21 19:07:16 +00:00
set -x
2022-08-08 19:47:16 +00:00
source common
if [ ! -f "/usr/bin/pungi-koji" ]; then
echo "You must have pungi installed."
exit 1
fi
2022-09-26 02:31:40 +00:00
VER="${RLVER}"
2022-08-08 19:47:16 +00:00
BRANCH="r${VER}"
REPO="${GIT_URL}/rocky/pungi-rocky.git"
CMD="/usr/bin/pungi-koji --production --no-latest-link --just-phase init --config rocky.conf --compose-dir /var/tmp/composes/ --label RC-${VER}"
git clone ${REPO} -b ${BRANCH} /var/tmp/pungi
pushd /var/tmp/pungi
${CMD}
popd