diff options
Diffstat (limited to 'mockit')
-rwxr-xr-x | mockit | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -37,9 +37,11 @@ fi # Queue commands if [ "$1" == "--list" ]; then echo "-- x86_64 queue: $($REDISCLI scard mockx) tasks --" - $REDISCLI smembers mockx - echo "-- aarch64 queue: $($REDISCLI scard mocka) tasks --" - $REDISCLI smembers mocka + a=$($REDISCLI smembers mockx) + [ -n "$a" ] && $REDISCLI smembers mockx || ps -ef | grep mock/mock | grep -v grep + echo -e "\n-- aarch64 queue: $($REDISCLI scard mocka) tasks --" + a=$($REDISCLI smembers mocka) + [ -n "$a" ] && $REDISCLI smembers mocka || ps -ef | ssh remi@ampere 'ps -ef | grep mock/mock' exit 0 elif [ "$1" == "--clean" ]; then $REDISCLI del mockx @@ -132,7 +134,7 @@ fi # PHP version matrix echo mockit $SRPM $DIST $MIN $MAX $@ case $DIST in - fc39x|fc39a|fc40x|fc40a|fc41x|fc41a|el9x|el9a) + fc39x|fc39a|fc40x|fc40a|fc41x|fc41a|el9x|el9a|el10x|el10a) LST="82 81 74 80 83 84" SCL="74 80 81 82 83 84" ;; @@ -146,7 +148,7 @@ case $DIST in ;; allx) if [ $REDIS -ge 1 ]; then - for i in fc39x fc40x fc41x el8x el9x fc39a fc40a fc41a el8a el9a + for i in fc39x fc40x fc41x el8x el9x el10x fc39a fc40a fc41a el8a el9a el10a do [ $BUILD_BASE -ge 1 ] && $0 --valkey --base $SRPM $i $MIN $MAX $@ [ $BUILD_SCLS -ge 1 ] && $0 --valkey --scl $SRPM $i $MIN $MAX $@ |