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: 1c9e22e73c40
Choose a base ref
...
head repository: NixOS/hydra
compare: 2de52d85380d
Choose a head ref
  • 14 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

Commits on Aug 15, 2019

  1. Fix error in GitlabStatus plugin

    May 15 09:20:10 chef hydra-queue-runner[27523]: Hydra::Plugin::GitlabStatus=HASH(0x519a7b8)->buildFinished: Can't call method "value" on an undefined value at /nix/store/858hinflxcl2jd12wv1r3a8j11ybsf6w-hydra-0.1.2629.89fa829/libexec/hydra/lib/Hydra/Plugin/GitlabStatus.pm line 57.
    
    (cherry picked from commit 438ddf5)
    edolstra committed Aug 15, 2019
    Copy the full SHA
    c8a4030 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2de52d8 View commit details
    Browse the repository at this point in the history