Ovh » History » Version 34
Cron Tab, 10/20/2016 06:00 AM
1 | 33 | Cron Tab | h3. Crontab<pre>MAILTO="ceph-infra@redhat.com" |
---|---|---|---|
2 | CEPH_QA_EMAIL="ceph-qa@ceph.com" |
||
3 | MACHINE_NAME="openstack" |
||
4 | FILTER_OUT="--filter-out=random.yaml\,async.yaml" |
||
5 | |||
6 | # Edit this file to introduce tasks to be run by cron. |
||
7 | # |
||
8 | # Each task to run has to be defined through a single line |
||
9 | # indicating with different fields when the task will be run |
||
10 | # and what command to run for the task |
||
11 | # |
||
12 | # To define the time you can provide concrete values for |
||
13 | # minute (m), hour (h), day of month (dom), month (mon), |
||
14 | # and day of week (dow) or use '*' in these fields (for 'any').# |
||
15 | # Notice that tasks will be started based on the cron's system |
||
16 | # daemon's notion of time and timezones. |
||
17 | # |
||
18 | # Output of the crontab jobs (including errors) is sent through |
||
19 | # email to the user the crontab file belongs to (unless redirected). |
||
20 | # |
||
21 | # For example, you can run a backup of all your user accounts |
||
22 | # at 5 a.m every week with: |
||
23 | # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ |
||
24 | # |
||
25 | # For more information see the manual pages of crontab(5) and cron(8) |
||
26 | # |
||
27 | # m h dom mon dow command |
||
28 | |||
29 | PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
||
30 | |||
31 | # Ensure ceph-sepia-secrets is up-to-date |
||
32 | */5 * * * * cd /home/teuthology/ceph-sepia-secrets && /home/teuthology/bin/cron_wrapper git pull |
||
33 | |||
34 | |||
35 | #Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Ovh |
||
36 | 00 6 * * * crontab=$(crontab -l | perl -p -e 's/</</g; s/>/>/g; s/&/&/g') ; header=$(echo h3. Crontab ; echo) ; curl --verbose -X PUT --header 'Content-type: application/xml' --data-binary '<?xml version="1.0"?><wiki_page><text>'"$header"'<pre>'"$crontab"'</pre></text></wiki_page>' http://tracker.ceph.com/projects/ceph-releases/wiki/ovh.xml?key=$(cat /etc/redmine-key) |
||
37 | |||
38 | |||
39 | # Ensure teuthology is up-to-date |
||
40 | 55 13 * * * cd /home/teuthology/src/teuthology_master && /home/teuthology/bin/cron_wrapper git pull |
||
41 | 59 13 * * * cd /home/teuthology/src/ceph-qa-suite_master && /home/teuthology/bin/cron_wrapper git pull |
||
42 | # Ensure ceph-sepia-secrets is up-to-date not needed in ovh |
||
43 | #57 13 * * * cd /home/teuthology/ceph-sepia-secrets && git pull |
||
44 | |||
45 | #Powercycle tests - lets try it manually and get a green before we add it to the nightlies |
||
46 | #00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle |
||
47 | |||
48 | #********** master branch |
||
49 | 1 | Cron Tab | 00 5 * * * /home/teuthology/bin/cron_wrapper teuthology-suite -v -c master -n 7 -m $MACHINE_NAME -s smoke -k testing -p 70 -e $CEPH_QA_EMAIL ~/vps.yaml |
50 | 33 | Cron Tab | 10 5 */3 * * /home/teuthology/bin/cron_wrapper teuthology-suite -v -c master -n 7 -m $MACHINE_NAME -k distro -s big -e $CEPH_QA_EMAIL ~/vps.yaml |
51 | |||
52 | 34 | Cron Tab | 00 16 * * 1,6 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c master -n 7 -m $MACHINE_NAME -s rbd -e $CEPH_QA_EMAIL ~/vps.yaml |
53 | 33 | Cron Tab | #**** MOVED TO SEPIA b/c OVH issues START ***** |
54 | #02 17 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml |
||
55 | #04 18 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
56 | #08 20 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
57 | #10 21 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
58 | #12 22 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL ~/vps.yaml |
||
59 | #14 23 * * 1,6 teuthology-suite -v -c master -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL ~/vps.yaml |
||
60 | #**** MOVED TO SEPIA b/c OVH issues END ***** |
||
61 | 06 19 * * 1,3 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c master -n 7 -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL ~/vps.yaml |
||
62 | 16 19 * * 1,3 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c master -n 7 -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL ~/vps.yaml |
||
63 | #removed per Greg's request 18 23 * * 1,3 teuthology-suite -v -c master -m $MACHINE_NAME -k testing -s multimds -e $CEPH_QA_EMAIL |
||
64 | #********* |
||
65 | |||
66 | |||
67 | #--filter-out rbd_cli_tests.yaml while waiting for a fix issue 14825, qemu per Josh |
||
68 | 00 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s rbd -e $CEPH_QA_EMAIL ~/vps.yaml --filter-out qemu |
||
69 | 05 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml |
||
70 | 10 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -s fs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
71 | 15 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s krbd -e $CEPH_QA_EMAIL ~/vps.yaml |
||
72 | 20 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s kcephfs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
73 | 25 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k testing -s knfs -e $CEPH_QA_EMAIL ~/vps.yaml |
||
74 | 30 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -s hadoop -e $CEPH_QA_EMAIL ~/vps.yaml |
||
75 | 35 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -s samba -e $CEPH_QA_EMAIL ~/vps.yaml |
||
76 | 40 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -s rest -e $CEPH_QA_EMAIL ~/vps.yaml |
||
77 | #removed per Greg's request 18 18 * * 7 teuthology-suite -v -c hammer -m $MACHINE_NAME -s -k testing multimds -e $CEPH_QA_EMAIL |
||
78 | 45 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s upgrade/client-upgrade -e $CEPH_QA_EMAIL ~/vps.yaml |
||
79 | 50 19 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s ceph-deploy -e $CEPH_QA_EMAIL ~/vps.yaml |
||
80 | |||
81 | ######## UPGRADES |
||
82 | #STOPPED running 10 17 1 * * teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/dumpling-firefly-x --timeout 54000 -e $CEPH_QA_EMAIL ~/vps.yaml |
||
83 | 05 17 * * 4 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/firefly-x -e $CEPH_QA_EMAIL ~/vps.yaml |
||
84 | 15 17 * * 3,7 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -k distro -m $MACHINE_NAME -s upgrade/hammer -e $CEPH_QA_EMAIL ~/vps.yaml |
||
85 | |||
86 | 10 02 * * 1,3,5 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c jewel -k distro -m $MACHINE_NAME -s upgrade/hammer-x -e $CEPH_QA_EMAIL ~/vps.yaml |
||
87 | 34 | Cron Tab | 20 02 * * 1,3,5 /home/teuthology/bin/cron_wrapper teuthology-suite -v -c jewel -k distro -m $MACHINE_NAME -s upgrade/infernalis-x -e $CEPH_QA_EMAIL ~/vps.yaml</pre> |