mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
Merge pull request #1094 from ceph/wip_reduce_rados
Reduce number of jobs for hammer branch Reviewed-by: Josh Durgin <jdurgin@redhat.com> Reviewed-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
commit
f369d9ccb6
@ -24,6 +24,12 @@ echo "Scheduling " $2 " branch"
|
||||
if [ $2 = "master" ] ; then
|
||||
# run master branch with --newest option looking for good sha1 7 builds back
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 --newest 7 -e $4 $5
|
||||
elif [ $2 = "hammer" ] ; then
|
||||
# run hammer branch with less jobs
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/56 -e $4 $5
|
||||
elif [ $2 = "jewel" ] ; then
|
||||
# run jewel branch with /40 jobs
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $4 $5
|
||||
else
|
||||
# run NON master branches without --newest
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 -e $4 $5
|
||||
|
@ -24,6 +24,12 @@ echo "Scheduling " $2 " branch"
|
||||
if [ $2 = "master" ] ; then
|
||||
# run master branch with --newest option looking for good sha1 7 builds back
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 --newest 7 -e $4 ~/vps.yaml $5
|
||||
elif [ $2 = "hammer" ] ; then
|
||||
# run hammer branch with less jobs
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/56 -e $4 ~/vps.yaml $5
|
||||
elif [ $2 = "jewel" ] ; then
|
||||
# run jewel branch with /40 jobs
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $4 ~/vps.yaml $5
|
||||
else
|
||||
# run NON master branches without --newest
|
||||
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 -e $4 ~/vps.yaml $5
|
||||
|
Loading…
Reference in New Issue
Block a user