svn path=/configurations/trunk/tud/; revision=11229
svn path=/configurations/trunk/tud/; revision=11229
Eelco Dolstra committed
Mar 20, 2008 at 14:05 UTC
59ea29ea5f60177fd84a1189f569a345d38d5ff9
1 file changed
+39
-9
supervisor/jobs.nix
+39
-9
@@ -9,57 +9,87 @@ let
9
makeJob = attrs: attrs // {
10
jobScript = defaultJobScript;
11
inputs = {
12
- job = pathInput /etc/nixos/release;
12
+ job = pathInput ../../../release;
13
#job = svnInput jobBaseline;
14
- nixpkgs = svnInputRev nixpkgsBaseline 10894;
14
+ nixpkgs = svnInputRev nixpkgsBaseline 11222;
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;
21
+ jobBaseline = https://svn.cs.uu.nl:12443/repos/trace/release/branches/new;
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;
27
+ cacheDir = "/data/webserver/dist/nix-cache";
28
+ cacheURL = http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache;
29
30
30
- /* Common variables for UT project jobs. */
31
+ /* Common variables for Nix-related jobs. */
32
32
- utFmtDistDir = http://buildfarm.st.ewi.tudelft.nl/releases/ut-fmt;
33
+ makeNixJob = attrs: makeJob ({
34
+ notifyAddresses = ["e.dolstra@tudelft.nl"];
35
+ args = [
36
+ attrs.jobExpr
37
+ attrs.jobAttr
38
+ "/data/webserver/dist/nix/${attrs.dirName}"
39
+ "http://nixos.org/releases/${attrs.dirName}"
40
+ cacheDir
41
+ http://nixos.org/releases/nix-cache
42
+ ];
43
+ } // attrs);
44
+
45
34
- utFmtPassword = "/home/buildfarm/secrets/ut-fmt-upload-passwd";
46
+ /* Common variables for UT project jobs. */
47
+
48
+ utFmtDistDir = "/data/webserver/dist/ut-fmt";
49
+ utFmtDistURL = http://buildfarm.st.ewi.tudelft.nl/releases/ut-fmt;
50
51
52
in
53
54
{
55
56
+ /* PatchELF */
57
+
58
+ patchelfTrunk = makeNixJob {
59
+ dirName = "patchelf";
60
+ inputs = {
61
+ patchelfCheckout = svnInput https://svn.cs.uu.nl:12443/repos/trace/patchelf/trunk;
62
+ };
63
+ jobExpr = "../jobs/nix/patchelf.nix";
64
+ jobAttr = "patchelfRelease";
65
+ #noRelease = true;
66
+ };
67
+
68
+
69
/* TorX */
70
71
+ /*
72
torxHead = makeJob {
73
inputs = {
74
torxHead = pathInput /tmp/torx-buildfarm.tgz;
75
};
76
notifyAddresses = ["e.dolstra@tudelft.nl"];
48
- secrets = utFmtPassword;
77
args = ["./jobs/ut-fmt/torx.nix" "torxHeadRelease" utFmtDistDir cacheDir];
78
#noRelease = true;
79
disabled = true;
80
};
81
+ */
82
83
/* Groove */
84
85
+ /*
86
grooveHead = makeJob {
87
inputs = {
88
};
89
notifyAddresses = ["e.dolstra@tudelft.nl"];
60
- secrets = utFmtPassword;
90
args = ["./jobs/ut-fmt/groove.nix" "grooveHeadRelease" utFmtDistDir cacheDir];
91
#noRelease = true;
92
};
93
+ */
94
95
}