chiark / gitweb /
* hosts/magrathea/*: working setup.
authorIan Jackson <ian@davenant.greenend.org.uk>
Fri, 26 Oct 2007 17:13:14 +0000 (18:13 +0100)
committerIan Jackson <ian@davenant.greenend.org.uk>
Fri, 26 Oct 2007 17:13:14 +0000 (18:13 +0100)
debian/changelog
hosts/chiark/cleanup [new file with mode: 0755]
hosts/chiark/install-on-chiark [new file with mode: 0755]
hosts/magrathea/cfg
hosts/magrathea/crontab
hosts/magrathea/crontab.root [new file with mode: 0644]
hosts/magrathea/install-on-magrathea
runner/adt-testreport-cronjob [changed mode: 0644->0755]

index 9790132a8194226d450fe3986de80d33b30e45c2..495ea322d78a700ebb3e5cf5a55d5f968f7be616 100644 (file)
@@ -4,8 +4,9 @@ autopkgtest (1.2.0~) unstable; urgency=low
     This will break existing setups with insufficient LVM space.
   * adt-xenlvm-*: allow specification of LVM PVs to use.
   * remove spurious mkdir of empty variable $snap.
+  * hosts/magrathea/*: working setup.
 
- --
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Fri, 26 Oct 2007 17:33:40 +0100
 
 autopkgtest (1.1.1~) unstable; urgency=low
 
diff --git a/hosts/chiark/cleanup b/hosts/chiark/cleanup
new file mode 100755 (executable)
index 0000000..cb24812
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+# this is run out of chiark:~ijackson/junk/crontab.chiark
+
+set -e
+cd /home/ijackson/public-html/autopkgtest/testing/
+
+#rmvia=true
+
+find *                                 \
+       -maxdepth 2                     \
+       -mindepth 2                     \
+       \(                              \
+                  -name src            \
+               -o -name tmp.\*         \
+               -o -type d              \
+               -o -size +100k          \
+       \)                              \
+       -mtime +3                       \
+       -print0                         \
+ | xargs -tr0 $rmvia rm -rf --
+
+find *                                 \
+       -maxdepth 1                     \
+       -mindepth 1                     \
+       -type d                         \
+       -mtime +100                     \
+       -print0                         \
+ | xargs -tr0 $rmvia rm -rf --
+
diff --git a/hosts/chiark/install-on-chiark b/hosts/chiark/install-on-chiark
new file mode 100755 (executable)
index 0000000..4f7d078
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cd /work/AutomatedTesting/autopkgtest--main/
+rsync -a * ijackson@chiark:things/Autopkgtest/autopkgtest/.
index 1777e942e38f66da3840ef9ea370d6065402c189..f4c3adc365b2954ed0bc7321d398dfaa265736b6 100644 (file)
@@ -1,6 +1,7 @@
 PATH=/home/ian/autopkgtest/runner:/usr/local/sbin:/usr/sbin:$PATH
 export PATH
 
+tmp=/volatile/ian/adt-tmp
 mirror=http://mirror.relativity.greenend.org.uk/mirror/debian-ftp/
 distro=lenny
 suite=main
index 885709be827d00761eed00520a22531c10417f07..4fb099715f92c4e40f6eedc76c217beb6a889ec2 100644 (file)
@@ -1,8 +1,4 @@
-# m h dom mon dow       command
-4-59/5 * * * *         autopkgtest/runner/adt-testreport-cronjob adt-play cfg
-22 0 * * Mon           savelog -n7 adt-play/var/log adt-play/var/overall.log
-58 7 * * *             adt-play/cleanup
-
-MAILTO=iwj@ubuntu.com
-# m h dom mon dow       command
-6-46/20 * * * *        autopkgtest/runner/adt-openbugs-update adt-play cfg >/dev/null
+# m h    dom mon dow   command
+4-59/5 *    * * *      autopkgtest/runner/adt-testreport-cronjob adt-play cfg
+5-35/30 *   * * *      autopkgtest/runner/adt-openbugs-update adt-play cfg >/dev/null
+4 13       * * Sun     savelog -c7 adt-play/var/log adt-play/var/overall.log
diff --git a/hosts/magrathea/crontab.root b/hosts/magrathea/crontab.root
new file mode 100644 (file)
index 0000000..c7f9e0e
--- /dev/null
@@ -0,0 +1,3 @@
+MAILTO=ian
+# m h    dom mon dow   user    command
+58 12      * * Sun     root    adt-xenlvm-setup --distro=lenny
index c299796a63bbc1152b4ef477f6bbda004fa9f453..ef2b0eaad16216e128e6beb10b509069a3935342 100755 (executable)
@@ -2,3 +2,4 @@
 set -e
 cd /work/AutomatedTesting/autopkgtest--main/
 rsync -a . magrathea:autopkgtest/.
+rsync hosts/magrathea/crontab.root root@magrathea:/etc/cron.d/autopkgtest-magrathea
old mode 100644 (file)
new mode 100755 (executable)