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: f13a2cb6dc02
Choose a base ref
...
head repository: NixOS/hydra
compare: f17cd94bac82
Choose a head ref
  • 12 commits
  • 22 files changed
  • 1 contributor

Commits on Aug 13, 2019

  1. Turn hydra-notify into a daemon

    It now receives notifications about started/finished builds/steps via
    PostgreSQL. This gets rid of the (substantial) overhead of starting
    hydra-notify for every event. It also allows other programs (even on
    other machines) to listen to Hydra notifications.
    edolstra committed Aug 13, 2019
    Copy the full SHA
    2946899 View commit details
    Browse the repository at this point in the history
  2. Add hydra-notify service

    edolstra committed Aug 13, 2019
    Copy the full SHA
    c7861b8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7114d2a View commit details
    Browse the repository at this point in the history
  4. Send notifications when evaluations start/finish/fail

    * 'eval_started' has the format '<tmpId>\t<project>\t<jobset>'.
    
    * 'eval_failed' has the format '<tmpId>'. (The cause of the error can
      be found in the database.)
    
    * 'eval_added' has the format '<tmpId>:<evalId>'.
    edolstra committed Aug 13, 2019
    Copy the full SHA
    976d88d View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    7c7cc8c View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    72c3637 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    d08cfa4 View commit details
    Browse the repository at this point in the history
  8. Restart hydra-notify

    edolstra committed Aug 13, 2019
    Copy the full SHA
    e2537f7 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    f49a089 View commit details
    Browse the repository at this point in the history
  10. Plugins: Add isEnabled method

    Plugins are now disabled at startup time unless there is some relevant
    configuration in hydra.conf. This avoids hydra-notify having to do a
    lot of redundant work (a lot of plugins did a lot of database queries
    *before* deciding they were disabled).
    
    Note: BitBucketStatus users will need to add 'enable_bitbucket_status
    = 1' to hydra.conf.
    edolstra committed Aug 13, 2019
    Copy the full SHA
    16811d3 View commit details
    Browse the repository at this point in the history
  11. Avoid fetching Projects/Jobsets just to get the name column

    In particular, doing a 'select * from Jobsets where ...' must be
    avoided, because the 'errormsg' column can be very big.
    edolstra committed Aug 13, 2019
    Copy the full SHA
    92d8d6b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Merge pull request #668 from NixOS/notifications

    Turn hydra-notify into a daemon
    edolstra committed Aug 14, 2019
    Copy the full SHA
    f17cd94 View commit details
    Browse the repository at this point in the history