Add runHydra shell

runHyda automatically starts hydra and postgres:

```
$ nix-shell -A runHydra
```

The shell receives hydra from the working copy as buildInput.
Running hydra, queue-runner, evaluator and postgres is managed
by foreman (https://github.com/ddollar/foreman) and configured
in `Procfile`.
This commit is contained in:
Andreas Rammhold
2020-05-13 17:37:25 +02:00
committed by Tobias Pflug
parent a614199449
commit d1237c315d
8 changed files with 54 additions and 1 deletions

6
scripts/start-queue-runner.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# wait until hydra is listening on port 3000
while ! nc -z localhost 3000; do sleep 1; done
hydra-queue-runner