Make travis complain on #bitcoin-core-dev when builds fail #11598

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:2017-10-travis-irc-notifications changing 1 files +6 −0
  1. TheBlueMatt commented at 8:51 PM on November 2, 2017: member

    I suppose this is more of an RFC, but we occasionally have master builds failing and (at least I) dont notice, would be nice to get bugged about it (we already get push notifications, so this shouldn't be too much more volume).

  2. Make travis complain on #bitcoin-core-dev when builds fail f9cd8b458a
  3. theuni commented at 8:54 PM on November 2, 2017: member

    Concept ACK.

    I think on_failure should probably be 'change' though. One failure notification is enough, otherwise at times when something is broken beyond our control, the channel spam would get pretty annoying.

  4. jonasschnelli commented at 8:54 PM on November 2, 2017: contributor

    AFAIK, this would also do an IRC message if a pull requests would fail? Or only master?

  5. TheBlueMatt commented at 8:56 PM on November 2, 2017: member

    @jonasschnelli docs say "Pull Request builds do not trigger IRC notifications." @theuni I dunno, I kinda like it being annoying, cause it kinda should be.

    Open question if travis will complain when a build gets canceled due to a push right afterwards.

  6. theuni commented at 9:00 PM on November 2, 2017: member

    Heh, I'm pretty sure this will cause every user to flood bitcoin-core-dev when their private builds fail. @TheBlueMatt for cancel, there are events in the "webhooks" documentation that may work:

        on_success: change # default: always
        on_failure: always # default: always
        on_start: change   # default: never
        on_cancel: always # default: always
        on_error: always # default: always
    
  7. jonasschnelli commented at 9:03 PM on November 2, 2017: contributor

    Concept ACK if limited to master. Not ideal if one can loop a PR push and spam out IRC channel.

  8. TheBlueMatt commented at 9:05 PM on November 2, 2017: member

    @theuni oh, indeed, not sure how to limit it to not include people who have travis turned on on their private forks. Docs dont show anything, oh well.

  9. TheBlueMatt closed this on Nov 2, 2017

  10. fanquake added the label Tests on Nov 3, 2017
  11. jnewbery commented at 3:43 PM on November 15, 2017: member

    I dug into this a bit more, but I think Matt is right and IRC notifications can't be conditioned on environment variables (I was hoping we'd be able to condition it on TRAVIS_REPO_SLUG == bitcoin/bitcoin). There's a very old issue to add conditional logic to notifications here: https://github.com/travis-ci/travis-ci/issues/1206. It doesn't look like it'll be implemented any time soon.

  12. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me