From 700540929b00f2109a5bc7230cdf3d9db63decc0 Mon Sep 17 00:00:00 2001 From: Todd Underwood Date: Tue, 29 Sep 2020 15:18:55 -0700 Subject: [PATCH] adds config to alert the core team via slack when the travis build fails (#271) * feat: Updates the notifications so that we only get alerting when master is broken (not on PR) and the first time after a failure that the build has been restored. --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1e9b5e730..087d63754 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,3 +38,11 @@ env: global: - secure: R8NA4hNA8SmxP7J0x3Nidv0GDnBctrTp0Wrd5s4VFP9+9SQdAgoulSoUgz69CuAJwmB/p0JtMFtd4LQfDeyL97u1SxfCDQFbuJf93Oj341ADOyK0p7dLBa3tmvquaCtWJqfx6GiR0Rp3WipGeyae/1nloMXltvA/gEKFQlingjXfwBERJ7aVWx2LBnuhU7QayhqEHb6AP/BSUtHBYBww7UG2xfpR1goFWp2XCCXElCot2efAxSh/mCiN3ZCn+kn3qs14lb/IM379U8In9XwAJuEdBV50Woawi+9j5cWdPo/+nCGlBM4csrR7rkz9MtGDUTTLN30xq9NkKsPeN5dYkuly/2JNSLyFIfGhsjSAeHqxB7Zw49o99pypERItmHKNzcE3WPzJrPhvHhm6T5Tf+4Rc7rUg3b5cZ6sl+/qonL19U30gF/dDJ/gdSFBULbYwh582Z0+0MrkCDkWBau/KPgt/zsDtWe8xqtKIQYPexlSCjyRujDDZCgwxx6k3AgS5mjjU/qqj6xjBLERy9IEwwe2J9mVfTfrYg5UXDxa2H+MSev1ZFDxWswhTfV/YmEk9biOADNcZI3VBnR2fUekklcPuEuI3qtxbY21iCN2Kwu38+vX+90NfS9jCfPnrY+OHtF9duSpOojPDQs+V/hcZ8wrbYAbf96itS3WZSbDSjZ8= - secure: YYl4kXd0TKA11aEY8HDbtZmo1g6V2a/qQFUD96/2U+5LaYTyDtFqRL/My9PJqHGh7xmD5TvWhW2ZYRc3Uoh6+Zq4ekNjkk6hKWv01hHCcQo4DDaBNbqTi05+zjmMuA1X8wPS6RGd7rnOhmdpSWX5S66oQc1UjvNa6SJd1txxKHUqfu5g4V0XbKSC+ypHj54cvaOLUY+goQ4MJiZP29iAAzy1AH6gPONwxwi5i/++NNvvLesq0TgObQUUXh5j/nEw7WbjiYUCMmBbssqqUq9koZNyC/DDJbEvcHzpc8oCSzWLrGXVanhoD3Vu5DBUE/JEP18mjCGjkzSSF56nysYNm4QNtwXpx313D3f120GERjA2x81LcAcJc4UaUPNKLUxxRfbjILezJX0nmzK7UMmgegy81iGj7DrChw1BTjanVIXrXNRzZjjVcOgVxTw+Vdi+vpB+BGiEsB4RJKL5I2XGFVwvP8KVOek+OKyrrHP2MdalXteld2ShTwe8jsYbcojdAJ5eLqqYbq9cdCiYO2+wpzK1bB1Cz4FPXrxrBGL2a3bSASsh2h3bV13eOi6J7igeY4BMYqcfFJnxC9ZSBllqoei7f3eiNpDSJQZ3FI5JPTE5b1Hoc9QiaaP5x9cuSI9zbXajGSYd0ym5tAPei3R7NTBCwsesE/vELdTPSwkrR5I= + +notifications: + slack: + if: branch = master AND (type = push OR type=cron) + on_success: change + on_failure: always + rooms: + - secure: lQOCt1qO1bV0X2aFiJX7DWODx9/YvgoXdNe5oZhKvbCkGRUwmLPZFTh28wCxnt41Mt+kqO7yKl9kISJJR5lrzOg8os5naLHYEq9c7O+DHPQ+MQan9e3W/ObQ6B4aaz8iX3x5OvX6yRf0XyzlNHNDHK4hKUr2RYNk82Fli+ZvBpkmRfNzR9OoJ39UhYwB3zOsXWxLjBCS6Tzp2+WuE6TxjP9QQ8gmxCzqb0wAG6KWpQn3PZsNrKEG+HtoMv1WRINPI60YP/C+2Iu60nPoBq65ysJ9BRcKXD2KRNi+kmfXOuwoKoMPm+NXyoN9/WBWttMKRyuXk26adK/ertjTN47eAkrbFePh+9AHJ9Lq2jgPSVyMZau5jvDYsZT29a+UiJL8GXNYdrljmSNSBwOH6HhK0sNVdfuLlafmBUXd5rwgBsVRh/ohoeWpALUQCtDH8Q0S1+MItuNwlcG8HygFnBfX9S4WwSTTPaQD8oV+ZmqmIiPK3dFTNFxlLoaH6qBiiJWuLOY/+7tUeokqVsTOBpBuyaxQl6t3QLVlkcIDj+0WpObzIUTUV5Fumq3d5Csd5wfrCo6yYZSN7+2rHEx01AKHy+KUNKEDq70N0vPSDk0r56Pw/m1i4vR4v1o4q1DmTUT1FWpugboCV43h+gmohlmiacgcupqXPz1vwY99ce2K8r0=