]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Reduce number of jobs for hammer branch
authorYuri Weinstein <yweinste@redhat.com>
Mon, 25 Jul 2016 15:42:46 +0000 (08:42 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Mon, 25 Jul 2016 15:53:29 +0000 (08:53 -0700)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
machine_types/schedule_rados.sh
machine_types/schedule_rados_ovh.sh

index 9f3d691e7921262e8a72dcfe8683e54105d5b159..924b6488cc43055dc6cce5624afc47ad619c8e07 100755 (executable)
@@ -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
index 2685b976acaafe4066ef1a7bc7876ba78639b010..afaec747e926eca8774cc84e2608f8a19a6d3015 100755 (executable)
@@ -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