aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-10-05 18:34:59 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-10-05 18:35:41 +0200
commitc8f710598541bc594896c962691173c7f2281c58 (patch)
tree5bdd8a3d10670d0a0fa3d5b9ccad8ba4fe218250
parent258e0097c2bd26bd07887c9a27dc7d0548a03419 (diff)
downloadansible-kong-app-c8f710598541bc594896c962691173c7f2281c58.tar.gz
ansible-kong-app-c8f710598541bc594896c962691173c7f2281c58.tar.zst
ansible-kong-app-c8f710598541bc594896c962691173c7f2281c58.zip
travis: Use encrypted token for slack notifications
This commit adds a notification on slack for travis builds. The token is encrypted using the repository key with the `travis` CLI: ``` travis encrypt "<user>:<token>" --add notifications.slack.rooms ``` cf documentation https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 99c10c5..6c68012 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,3 +35,9 @@ script:
35 35
36notifications: 36notifications:
37 webhooks: https://galaxy.ansible.com/api/v1/notifications/ 37 webhooks: https://galaxy.ansible.com/api/v1/notifications/
38 slack:
39 rooms:
40 - secure: cNAlklFQhu3CRi4Vp+U1veIbSvpAvqVNa0I9knRe8r5Xz6jczuxtKYVnP5m8q1iY38zx3ekjFn+2VdFQgr0twqUYGFMr+YbOWfLdcWxmA6BI29/6kdpoX0uihMEOl5uAyVm7hOiU/DfPxsbQMJeEFY4r/eYM+wErAtFC0c8bWt4oskjJJQPmr7DB/fOaefKkGoVjKElO6goVRWy2fHkGdldvV5EcQPdNW82ZY0w27e7fWm9Yv0D/Jr7Qu9i00UCdT3LyJ05cKVdaxxQOx0xjh+h0V4lN/CRfEBk8LQW3Ror+vnFgQHFkxSzY/MOASBvxZPMj/PFPCP1AwYlxz46dDHnaN2+tNc4Pdj/2qqZPjDW03KqjLRNY3fyfvjX2Yz+2da2hiF7WZReRcFZp0KGxLGTrpFFQ+JOEbYDvK0p4ZswNkDwnI9iYJoI7wntL614y4wIiCRxDR1/aTOGLr+M05WSdBhocL0x8IGVZNKa2yRpcgwlM35QMYSd7QFQmgB6MCIlqHxa1zGg124iepjL1SXp49SwQBI9k1mO4N7z469ZVyEdqydBMMQiiay2mP+fEBAM9gOboV4rMkCSQoMMED+MyiwGRioFor34/t7MQFM18ZoUemQAYRK7iAyCO7JnQOkilAVi+ZIfpiUrrBhBpz5JopeaFEIp4yAuJRyvWD0c=
41 on_success: change # default: always
42 on_failure: always # default: always
43 on_pull_requests: false