@cryptotaxi247 / infra-1 / commits / 99fafc55

* UTwente jobs: Groove, TorX.

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

Eelco Dolstra committed Mar 4, 2008 at 10:09 UTC 99fafc554f55198ac64ae783d3b0c167606d1a6d
3 files changed +67 -5
cartman.nix
+2 -1
@@ -282,9 +282,10 @@ rec {
282 distPasswords = "/data/webserver/upload_passwords";
283 directoriesConf = ''
284 nix ${distDir}/nix nix-upload
285 - nix-cache ${distDir}/nix-cache nix-upload strategoxt-upload meta-environment-upload
285 + nix-cache ${distDir}/nix-cache nix-upload strategoxt-upload meta-environment-upload ut-fmt-upload
286 strategoxt ${distDir}/strategoxt strategoxt-upload
287 meta-environment ${distDir}/meta-environment meta-environment-upload
288 + ut-fmt ${distDir}/ut-fmt ut-fmt-upload
289 '';
290 };
291 }
dist-manager/directories.conf deleted
-4
@@ -1,4 +0,0 @@
1 -nix @distDir@/nix nix-upload
2 -nix-cache @distDir@/nix-cache nix-upload strategoxt-upload meta-environment-upload
3 -strategoxt @distDir@/strategoxt strategoxt-upload
4 -meta-environment @distDir@/meta-environment meta-environment-upload
supervisor/jobs.nix new
+65
@@ -0,0 +1,65 @@
1 +let
2 +
3 + /* Helper functions. */
4 +
5 + pathInput = path: {type = "path"; path = toString path;};
6 + svnInput = url: {type = "svn"; url = url;};
7 + svnInputRev = url: rev: {type = "svn"; url = url; rev = rev;};
8 +
9 + makeJob = attrs: attrs // {
10 + jobScript = defaultJobScript;
11 + inputs = {
12 + job = pathInput /etc/nixos/release;
13 + #job = svnInput jobBaseline;
14 + nixpkgs = svnInputRev nixpkgsBaseline 10894;
15 + } // attrs.inputs;
16 + };
17 +
18 +
19 + /* Common variables for (almost) all jobs. */
20 +
21 + jobBaseline = https://svn.cs.uu.nl:12443/repos/trace/release/trunk;
22 +
23 + nixpkgsBaseline = https://svn.cs.uu.nl:12443/repos/trace/nixpkgs/trunk;
24 +
25 + defaultJobScript = "generic-dist/build+upload.sh";
26 +
27 + cacheDir = http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache;
28 +
29 +
30 + /* Common variables for UT project jobs. */
31 +
32 + utFmtDistDir = http://buildfarm.st.ewi.tudelft.nl/releases/ut-fmt;
33 +
34 + utFmtPassword = "/home/buildfarm/secrets/ut-fmt-upload-passwd";
35 +
36 +
37 +in
38 +
39 +{
40 +
41 + /* TorX */
42 +
43 + torxHead = makeJob {
44 + inputs = {
45 + torxHead = pathInput /tmp/torx-buildfarm.tgz;
46 + };
47 + notifyAddresses = ["e.dolstra@tudelft.nl"];
48 + secrets = utFmtPassword;
49 + args = ["./jobs/ut-fmt/torx.nix" "torxHeadRelease" utFmtDistDir cacheDir];
50 + #noRelease = true;
51 + disabled = true;
52 + };
53 +
54 + /* Groove */
55 +
56 + grooveHead = makeJob {
57 + inputs = {
58 + };
59 + notifyAddresses = ["e.dolstra@tudelft.nl"];
60 + secrets = utFmtPassword;
61 + args = ["./jobs/ut-fmt/groove.nix" "grooveHeadRelease" utFmtDistDir cacheDir];
62 + #noRelease = true;
63 + };
64 +
65 +}