Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/hydra
base: a614199449e5
Choose a base ref
...
head repository: NixOS/hydra
compare: c4104fe1fa7f
Choose a head ref
  • 11 commits
  • 8 files changed
  • 4 contributors

Commits on May 15, 2020

  1. 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`.
    andir authored and gilligan committed May 15, 2020
    Copy the full SHA
    d1237c3 View commit details
    Browse the repository at this point in the history
  2. Add devShell for faster feedback

    This adds a `devShell` which unlike `runHydra` doesn't start hydra
    automatically and doesn't receive hydra as build input. It is better
    suited for interactive development cycles:
    
    ```
    $ nix-shell -A devShell
    $ ./bootstrap
    $ configurePhase
    $ make
    $ # hack hack hack
    $ foreman start
      # test test test
      <C-c>
    $ # hack hack hack
    ```
    andir authored and gilligan committed May 15, 2020
    Copy the full SHA
    eb06a43 View commit details
    Browse the repository at this point in the history
  3. 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.
    gilligan committed May 15, 2020
    Copy the full SHA
    07a4465 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    0add1cc View commit details
    Browse the repository at this point in the history
  5. README.md: info about runHydra/foreman

    Add sections about using `runHydra` and `foreman`
    gilligan committed May 15, 2020
    Copy the full SHA
    45ac8e0 View commit details
    Browse the repository at this point in the history
  6. Use pg_ctl for readiness check

    Using `pg_ctl status` is more reliable than relying checking an
    open port via netcat.
    gilligan committed May 15, 2020
    Copy the full SHA
    d9d58b7 View commit details
    Browse the repository at this point in the history
  7. Use pg_isready for readiness check

    Co-authored-by: Graham Christensen <graham@grahamc.com>
    gilligan and grahamc committed May 15, 2020
    Copy the full SHA
    1bcb8d0 View commit details
    Browse the repository at this point in the history
  8. Run hydra-dev-server

    Execute hydra-dev-server instead of hydra-server
    
    Co-authored-by: Graham Christensen <graham@grahamc.com>
    gilligan and grahamc committed May 15, 2020
    Copy the full SHA
    fc0eb02 View commit details
    Browse the repository at this point in the history
  9. Address PR comments:

    - scripts -> foreman
    - drop runHydra
    - drop devShell
    - move postgresql to buildInputs
    gilligan committed May 15, 2020
    Copy the full SHA
    31262f1 View commit details
    Browse the repository at this point in the history
  10. README.md update

    - drop any mention of runHydra
    - link foreman and mention Procfile
    gilligan committed May 15, 2020
    Copy the full SHA
    006233d View commit details
    Browse the repository at this point in the history
  11. Merge pull request #759 from gilligan/devshell

    Devshell
    edolstra committed May 15, 2020
    Copy the full SHA
    c4104fe View commit details
    Browse the repository at this point in the history