From 6a760eb1dcd74b5b7cd5ebec1ca0ebf73ce09006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:29:30 +0200 Subject: [PATCH 1/4] Update .travis.yml --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d87c80f..5cb54c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,12 @@ env: jobs: - MOLECULE_DISTRO=debian:stretch-slim - MOLECULE_DISTRO=debian:buster-slim - script: - - ./test.sh \ No newline at end of file + - ./test.sh +notifications: + email: + if: branch = master + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com From 409e7f8bd276046be24fc8d2f0633320d209b1c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:32:18 +0200 Subject: [PATCH 2/4] Update .travils.yml template --- .../{% raw %}.travis.yml{% endraw %} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} index e14d6b9..eb97830 100644 --- a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} +++ b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} @@ -17,3 +17,9 @@ script: notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ + email: + if: branch = main + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com From 9a971619a7b7eea3a283f11f94c079c232fe912a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:38:57 +0200 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b347d2a..f670215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added +- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/57) Email notifications in travis.* @vicsufer ### Changed ### Fixed - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer From d9964134dadd8e157979d6cc6f36d6fd7b9c441a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 17:38:30 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f670215..f502e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added -- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/57) Email notifications in travis.* @vicsufer +- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer ### Changed ### Fixed - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer