Skip to content

Commit 04bdf71

Browse files
committed
attempt to fix crons
1 parent 1a549e4 commit 04bdf71

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

cron/lookahead-find-unsigned-10

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
44
export RLVER=10
55
FROMMAIL="Compose Tracker <[email protected]>"
66
source "/root/toolkit/sync/common"
7-
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${MAJOR}-lookahead" | grep '\.src' > "/tmp/unsigned_lookahead_${MAJOR}"
7+
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${MAJOR}-lookahead" > "/tmp/unsigned_lookahead_${MAJOR}_all"
88
ret_val=$?
99

1010
if [ "$ret_val" -ne 0 ]; then
@@ -15,6 +15,7 @@ if [ "$ret_val" -ne 0 ]; then
1515
fi
1616

1717
# Assumes we got a list
18+
grep '\.src' "/tmp/unsigned_lookahead_${MAJOR}_all" > "/tmp/unsigned_lookahead_${MAJOR}"
1819
sed -i 's/\.src//g' "/tmp/unsigned_lookahead_${MAJOR}"
1920

2021
mutt -e "set from=\"$FROM\"" \

cron/lookahead-find-unsigned-9

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
44
export RLVER=9
55
FROMMAIL="Compose Tracker <[email protected]>"
66
source "/root/toolkit/sync/common"
7-
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${MAJOR}-lookahead" | grep '\.src' > "/tmp/unsigned_lookahead_${MAJOR}"
7+
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${MAJOR}-lookahead" > "/tmp/unsigned_lookahead_${MAJOR}_all"
88
ret_val=$?
99

1010
if [ "$ret_val" -ne 0 ]; then
@@ -15,6 +15,7 @@ if [ "$ret_val" -ne 0 ]; then
1515
fi
1616

1717
# Assumes we got a list
18+
grep '\.src' "/tmp/unsigned_lookahead_${MAJOR}_all" > "/tmp/unsigned_lookahead_${MAJOR}"
1819
sed -i 's/\.src//g' "/tmp/unsigned_lookahead_${MAJOR}"
1920

2021
mutt -e "set from=\"$FROM\"" \

cron/stable-find-unsigned-10

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
44
export RLVER=10
55
FROMMAIL="Compose Tracker <[email protected]>"
66
source "/root/toolkit/sync/common"
7-
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${REVISION}" | grep '\.src' > "/tmp/unsigned_${REVISION}"
7+
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${REVISION}" > "/tmp/unsigned_${REVISION}_all"
88
ret_val=$?
99

1010
if [ "$ret_val" -ne 0 ]; then
@@ -15,6 +15,7 @@ if [ "$ret_val" -ne 0 ]; then
1515
fi
1616

1717
# Assumes we got a list
18+
grep '\.src' "/tmp/unsigned_${REVISION}_all" > "/tmp/unsigned_${REVISION}"
1819
sed -i 's/\.src//g' "/tmp/unsigned_${REVISION}"
1920

2021
mutt -e "set from=\"$FROM\"" \

cron/stable-find-unsigned-9

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
44
export RLVER=9
55
FROMMAIL="Compose Tracker <[email protected]>"
66
source "/root/toolkit/sync/common"
7-
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${REVISION}" | grep '\.src' > "/tmp/unsigned_${REVISION}"
7+
python3 /root/toolkit/mangle/koji/unsigned.py --key rocky-linux-${MAJOR} --tag "dist-rocky${REVISION}" > "/tmp/unsigned_${REVISION}_all"
88
ret_val=$?
99

1010
if [ "$ret_val" -ne 0 ]; then
@@ -15,6 +15,7 @@ if [ "$ret_val" -ne 0 ]; then
1515
fi
1616

1717
# Assumes we got a list
18+
grep '\.src' "/tmp/unsigned_${REVISION}_all" > "/tmp/unsigned_${REVISION}"
1819
sed -i 's/\.src//g' "/tmp/unsigned_${REVISION}"
1920

2021
mutt -e "set from=\"$FROM\"" \

0 commit comments

Comments
 (0)