Tobias Pflug
31262f14fb
Address PR comments:
...
- scripts -> foreman
- drop runHydra
- drop devShell
- move postgresql to buildInputs
2020-05-15 13:48:21 +02:00
Tobias Pflug
fc0eb02ffe
Run hydra-dev-server
...
Execute hydra-dev-server instead of hydra-server
Co-authored-by: Graham Christensen <graham@grahamc.com>
2020-05-15 12:37:16 +02:00
Tobias Pflug
1bcb8d0be9
Use pg_isready
for readiness check
...
Co-authored-by: Graham Christensen <graham@grahamc.com>
2020-05-15 12:37:16 +02:00
Tobias Pflug
d9d58b7055
Use pg_ctl for readiness check
...
Using `pg_ctl status` is more reliable than relying checking an
open port via netcat.
2020-05-15 12:37:16 +02:00
Tobias Pflug
07a4465260
Use custom ports for postgres/hydra
...
Use custom ports so hydra and postgres can run in environments where
the default ports are in use already.
2020-05-15 12:37:16 +02:00
Andreas Rammhold
d1237c315d
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`.
2020-05-15 12:37:16 +02:00