aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-10-05 18:17:18 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-10-05 18:31:00 +0200
commitfd420630fd2d6ee50228fb77f217e895530a7834 (patch)
tree85835d5f8fc05aab8afcbe565856d7fe032eeb56 /.travis.yml
parentd63814d3badb181c494bcfd53821dc484b6ce713 (diff)
downloadansible-clever-fd420630fd2d6ee50228fb77f217e895530a7834.tar.gz
ansible-clever-fd420630fd2d6ee50228fb77f217e895530a7834.tar.zst
ansible-clever-fd420630fd2d6ee50228fb77f217e895530a7834.zip
travis: Use encrypted token for slack notification
This encrypts the token used to talk with Slack (with a new generated token and the old one has been revoked) 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 About #66
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4a7aa46..e42204f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,4 @@
1--- 1---
2sudo: false
3language: nix 2language: nix
4nix: 2.3.4 3nix: 2.3.4
5env: 4env:
@@ -34,5 +33,10 @@ script:
34 - ansible-playbook -i tests/inventory tests/test-all.yml 33 - ansible-playbook -i tests/inventory tests/test-all.yml
35 34
36notifications: 35notifications:
37 slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB 36 slack:
37 rooms:
38 - secure: PdkqC047GvDF8RB4TN5iT5WqffzhViUU1YZsGMdd0/mH2tylqe8VuaFvIHSNJlFxgUHvEktkRy6Jn6gpkHysKMrHDK99fvPB/v2m/88eze1pI1zsXlgdaHZ7GOgxx5iqG/o+F/3MA0jInwExzUmSpojkrdGqsxyr9G9/tktj3E8d2udQJbiNwaxhVGO3fsgqKK2bQLpuVEGjNVCfzp3DfsQ0lAn/75k2+cHdEIIBTBC/8cuZle+WULiL4+0/bxcpD/Dlo76IDOcyiyimCyC22EJSvdYq7JdMdNDBuG81hq0HyeOMqeYpGufiaksuw1T7AfzrgMkstKbUzyMJlt9Le6ezbTOQc3Xy06d9v0BiZRlT0sHF/QRZR906pfdLmWfFluPQYwsH6K+dJob+MD/2alJDBvlEpnyKDPyDChys1G+Xh+EWLClDREgrE7TNwWkfW1sTvILPoqdcIPfOJCnJvvs14sJseymhJ7X9puuvJt481LCCitBDLRtiB7Ht5c5KBQfvsyT1h0n4rVfIVxEAubM0mCng7Xc9yUICxM/udQE1ra0UAUHGUpIqv/S9lmmvic7c3PK0+0p8hBU/98Fv7M6KMS+SjDMrNSCglUd17RHsIl6lji7npzprcwF/SZjKQ8KfFjN00VWMEj/pUzpBOv5ihUZi1Il5lh5jynXtQao=
39 on_success: change # default: always
40 on_failure: always # default: always
41 on_pull_requests: false
38 webhooks: https://galaxy.ansible.com/api/v1/notifications/ 42 webhooks: https://galaxy.ansible.com/api/v1/notifications/