toolkit/mangle/generators/generate_comps
Louis Abel 9d9357647e
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 3s
Build empanada container images for lorax / buildx (push) Successful in 1s
change lh to s
2024-02-21 12:07:16 -07:00

19 lines
425 B
Bash
Executable file

#!/bin/bash
set -x
source common
if [ ! -f "/usr/bin/pungi-koji" ]; then
echo "You must have pungi installed."
exit 1
fi
VER="${RLVER}"
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