@cryptotaxi247 / infra-1 / commits / 4f5843eb

* Yet another Subversion service instance (for the PTG course).

svn path=/configurations/trunk/tud/; revision=11705

Eelco Dolstra committed Apr 24, 2008 at 12:35 UTC 4f5843eb9cd5ff7bf4b4db5fea128c5861fcef58
1 file changed +15 -1
cartman.nix
+15 -1
@@ -111,7 +111,7 @@ rec {
111
112 cron = {
113 systemCronJobs = [
114 - "25 * * * * root (TZ=CET date; ${pkgs.rsync}/bin/rsync -razv --numeric-ids --delete /data/subversion /data/subversion-strategoxt /data/subversion-nix /data/vm /data/pt-wiki /data/postgresql unixhome.st.ewi.tudelft.nl::bfarm/) >> /var/log/backup.log 2>&1"
114 + "25 * * * * root (TZ=CET date; ${pkgs.rsync}/bin/rsync -razv --numeric-ids --delete /data/subversion* /data/vm /data/pt-wiki /data/postgresql unixhome.st.ewi.tudelft.nl::bfarm/) >> /var/log/backup.log 2>&1"
115
116 # Releases indices.
117 "10 * * * * root (cd /etc/nixos/release/index && PATH=${pkgs.saxonb}/bin:$PATH ./make-index.sh /data/webserver/dist/nix http://nixos.org/releases/ /releases.css) >> /var/log/index 2>&1"
@@ -268,6 +268,20 @@ rec {
268 };
269 };
270 }
271 + { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/subversion.nix;
272 + config = {
273 + id = "ptg";
274 + urlPrefix = "/ptg";
275 + dataDir = "/data/subversion-ptg";
276 + notificationSender = "root@buildfarm.st.ewi.tudelft.nl";
277 + userCreationDomain = "st.ewi.tudelft.nl";
278 + organisation = {
279 + name = "Software Engineering Research Group, TU Delft";
280 + url = http://www.st.ewi.tudelft.nl/;
281 + logo = "/serg-logo.png";
282 + };
283 + };
284 + }
285 ];
286 servedDirs = [
287 { urlPath = "/releases";