#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin FROMMAIL="Compose Tracker " rm -rf /etc/pungi-prod git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r8 /etc/pungi-prod ret_val=$? if [ "$ret_val" -ne 0 ]; then echo "Git pull failed for prod pungi config" | mutt -e "set from=\"$FROM\"" \ -e 'set envelope_from=yes' \ -s "Git pull on /etc/pungi-prod failed" \ releng@rockylinux.org exit 1 fi pushd /etc/pungi-prod/scripts #bash updates-8-full.sh bash updates-8.sh ret_val=$? popd if [ "$ret_val" -eq 0 ]; then pushd /root/sync-devel/sync #RLVER=8 bash sync-to-staging.sh Rocky-devel #RLVER=8 bash sync-to-staging.sh Extras RLVER=8 bash sync-to-staging.sh Rocky popd pushd /mnt/repos-staging/mirror/pub/rocky/8.10 python3.9 /usr/local/bin/apollo_tree -p $(pwd) -n 'Rocky Linux 8 $arch' -i Live -i Minimal -i devel -i extras -i images -i isos -i live -i metadata -i Devel -i plus -i nfv popd pushd /root/sync-devel/sync RLVER=8 bash sign-repos-only.sh popd fi