mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Made rados runs in ovh call vps.yaml
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
This commit is contained in:
parent
686d6e9c0b
commit
97b0b2b97d
23
machine_types/schedule_rados_ovh.sh
Executable file
23
machine_types/schedule_rados_ovh.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# $1 - part
|
||||
# $2 - branch name
|
||||
# $3 - machine name
|
||||
# $4 - email address
|
||||
# $5 - filter out (this arg is to be at the end of the command line for now)
|
||||
|
||||
## example #1
|
||||
## (date +%U) week number
|
||||
## % 2 - mod 2 (e.g. 0,1,0,1 ...)
|
||||
## * 7 - multiplied by 7 (e.g. 0,7,0,7...)
|
||||
## $1 day of the week (0-6)
|
||||
## /14 for 2 weeks
|
||||
|
||||
## example #2
|
||||
## (date +%U) week number
|
||||
## % 4 - mod 4 (e.g. 0,1,2,3,0,1,2,3 ...)
|
||||
## * 7 - multiplied by 7 (e.g. 0,7,14,21,0,7,14,21...)
|
||||
## $1 day of the week (0-6)
|
||||
## /28 for 4 weeks
|
||||
|
||||
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