Revert "Remove now-unused SystemTypes table"

This reverts commit 71d020735b.
Unfortunately there are still some cases where we need to set Hydra's
concurrency separately.  (Ideally, Hydra would start *all* queued
builds in parallel and let Nix take care of everything...)
This commit is contained in:
Eelco Dolstra
2013-03-05 17:42:16 +01:00
parent 5b6b9d37f0
commit fcd511c4de
5 changed files with 73 additions and 2 deletions

View File

@ -6,6 +6,10 @@
$ DBIC_TRACE=1 ./script/hydra_server.pl
* Setting the maximum number of concurrent builds per system type:
$ sqlite3 hydra.sqlite "insert into SystemTypes(system, maxConcurrent) values('i686-linux', 3);"
* Creating a user:
$ sqlite3 hydra.sqlite "insert into Users(userName, emailAddress, password) values('root', 'e.dolstra@tudelft.nl', '$(echo -n foobar | sha1sum | cut -c1-40)');"