File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+ FROMMAIL=
" Compose Tracker <[email protected] >" 4+ rm -rf /etc/pungi-prod-10
5+ git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r10.0 /etc/pungi-prod-10
6+ ret_val=$?
7+ if [ " $ret_val " -ne 0 ]; then
8+ echo " Git pull failed for prod pungi config" | mutt -e " set from=\" $FROMMAIL \" " \
9+ -e ' set envelope_from=yes' \
10+ -s " Git pull on /etc/pungi-prod failed" \
11+ 12+ exit 1
13+ fi
14+ pushd /etc/pungi-prod-10/scripts/compose
15+ bash updates-10-full.sh
16+ ret_val=$?
17+ popd
18+
19+ if [ " $ret_val " -eq 0 ]; then
20+ pushd /root/toolkit/sync
21+ RLVER=10 bash sync-to-staging.sh Rocky-devel
22+ RLVER=10 bash sync-to-staging.sh Extras
23+ RLVER=10 bash sync-to-staging.sh Rocky
24+ popd
25+
26+ # Errata is not ready for 10 yet.
27+ # pushd /mnt/repos-staging/mirror/pub/rocky/10.0
28+ # python3 /usr/local/bin/apollo_tree -p $(pwd) -n 'Rocky Linux 10 $arch' -i Live -i Minimal -i devel -i extras -i images -i isos -i live -i metadata -i Devel -i plus -i nfv
29+ # popd
30+
31+ # pushd /root/toolkit/sync
32+ # RLVER=10 bash sign-repos-only.sh
33+ # popd
34+ fi
You can’t perform that action at this time.
0 commit comments