Use pg_ctl for readiness check

Using `pg_ctl status` is more reliable than relying checking an
open port via netcat.
This commit is contained in:
Tobias Pflug
2020-05-14 15:15:38 +02:00
parent 45ac8e0cbc
commit d9d58b7055
3 changed files with 5 additions and 5 deletions

View File

@ -295,7 +295,7 @@
runHydra = pkgs.callPackage ./run-hydra.nix {};
devShell = pkgs.hydra.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.foreman pkgs.netcat ];
buildInputs = old.buildInputs ++ [ pkgs.foreman ];
shellHook = old.shellHook + ''
export HYDRA_HOME="src/"
mkdir -p .hydra-data