Skip to content

Commit 7ff4ef2

Browse files
rockythornLouis Abel
authored andcommitted
Update apollo_tree.py for 8 and 9
Removed ignores for two Rocky 9 repos because the new updateinfo endpoint returns updateinfo for them (SAP and SAPHANA)
1 parent e9b3eb7 commit 7ff4ef2

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

cron/stable-updates-10

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if [ "$ret_val" -eq 0 ]; then
3535
-i isos \
3636
-i live \
3737
-i metadata \
38+
-i plus \
3839
-i devel \
3940
-i SAP \
4041
-i SAPHANA \

cron/stable-updates-8

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,20 @@ if [ "$ret_val" -eq 0 ]; then
2626
popd || { echo "Cron: Could not change back to original directory"; exit 1; }
2727

2828
pushd /mnt/repos-staging/mirror/pub/rocky/8.10 || { echo "Cron: Directory doesn't exist"; exit 1; }
29-
python3.9 /usr/local/bin/apollo_tree -p $(pwd) -n 'Rocky Linux' --major-version 8 -i Live -i Minimal -i devel -i extras -i images -i isos -i live -i metadata -i Devel -i plus -i nfv
29+
python3.9 /usr/local/bin/apollo_tree -p $(pwd) \
30+
-n 'Rocky Linux' \
31+
--major-version 8 \
32+
-i Live \
33+
-i Minimal \
34+
-i devel \
35+
-i extras \
36+
-i images \
37+
-i isos \
38+
-i live \
39+
-i metadata \
40+
-i Devel \
41+
-i plus \
42+
-i nfv
3043
popd || { echo "Cron: Could not change back to original directory"; exit 1; }
3144

3245
pushd /root/toolkit/sync || { echo "Cron: Failed to change directory"; exit 1; }

cron/stable-updates-9

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@ if [ "$ret_val" -eq 0 ]; then
2929

3030
pushd /mnt/repos-staging/mirror/pub/rocky/${REVISION} || { echo "Cron: Directory doesn't exist"; exit 1; }
3131
python3 /usr/local/bin/apollo_tree -p $(pwd) \
32-
-n "Rocky Linux ${RLVER} \$arch" \
32+
-n 'Rocky Linux' \
33+
--major-version 9 \
3334
-i extras \
3435
-i images \
3536
-i isos \
3637
-i live \
3738
-i metadata \
3839
-i plus \
39-
-i devel \
40-
-i SAP \
41-
-i SAPHANA
40+
-i devel
4241
popd || { echo "Cron: Could not change back to original directory"; exit 1; }
4342

4443
pushd /root/toolkit/sync || { echo "Cron: Failed to change directory"; exit 1; }

0 commit comments

Comments
 (0)