From: Patrick Donnelly Date: Mon, 11 Mar 2024 14:08:15 +0000 (-0400) Subject: qa/nightlies: move schedule_subset script alongside cron_wrapper X-Git-Tag: v20.0.0~2426^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bc4cc4e4d64ac38edcf353cbe025d7c80bbb515e;p=ceph.git qa/nightlies: move schedule_subset script alongside cron_wrapper Signed-off-by: Patrick Donnelly --- diff --git a/qa/machine_types/schedule_subset.sh b/qa/machine_types/schedule_subset.sh deleted file mode 100755 index 7f18c81ef6723..0000000000000 --- a/qa/machine_types/schedule_subset.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -e - -#command line => CEPH_BRANCH=; MACHINE_NAME=; SUITE_NAME=; ../schedule_subset.sh $CEPH_BRANCH $MACHINE_NAME $SUITE_NAME $CEPH_QA_EMAIL $KERNEL <$FILTER> - -partitions="$1" -shift -branch="$1" -shift -machine="$1" -shift -suite="$1" -shift -email="$1" -shift -kernel="$1" -shift -# rest of arguments passed directly to teuthology-suite - -echo "Scheduling $branch branch" -teuthology-suite -v -c "$branch" -m "$machine" -k "$kernel" -s "$suite" --ceph-repo https://git.ceph.com/ceph.git --suite-repo https://git.ceph.com/ceph.git --subset "$((RANDOM % partitions))/$partitions" --newest 100 -e "$email" "$@" diff --git a/qa/nightlies/schedule_subset.sh b/qa/nightlies/schedule_subset.sh new file mode 100755 index 0000000000000..7f18c81ef6723 --- /dev/null +++ b/qa/nightlies/schedule_subset.sh @@ -0,0 +1,20 @@ +#!/bin/bash -e + +#command line => CEPH_BRANCH=; MACHINE_NAME=; SUITE_NAME=; ../schedule_subset.sh $CEPH_BRANCH $MACHINE_NAME $SUITE_NAME $CEPH_QA_EMAIL $KERNEL <$FILTER> + +partitions="$1" +shift +branch="$1" +shift +machine="$1" +shift +suite="$1" +shift +email="$1" +shift +kernel="$1" +shift +# rest of arguments passed directly to teuthology-suite + +echo "Scheduling $branch branch" +teuthology-suite -v -c "$branch" -m "$machine" -k "$kernel" -s "$suite" --ceph-repo https://git.ceph.com/ceph.git --suite-repo https://git.ceph.com/ceph.git --subset "$((RANDOM % partitions))/$partitions" --newest 100 -e "$email" "$@"