From d086412983c4f4eded52dc83721c9bb239383a2f Mon Sep 17 00:00:00 2001 From: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Date: Tue, 28 Jul 2020 18:19:13 +0200 Subject: [PATCH] [meta] add slack notifications to CI jobs (#760) This commit add Slack notifications to Elastic Release team Slack channel for helm-charts branch and staging job templates. --- .ci/jobs.t/elastic+helm-charts+{branch}+staging.yml | 7 +++++++ .ci/jobs.t/elastic+helm-charts+{branch}.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.ci/jobs.t/elastic+helm-charts+{branch}+staging.yml b/.ci/jobs.t/elastic+helm-charts+{branch}+staging.yml index b72d66bc7..6499e903f 100644 --- a/.ci/jobs.t/elastic+helm-charts+{branch}+staging.yml +++ b/.ci/jobs.t/elastic+helm-charts+{branch}+staging.yml @@ -44,3 +44,10 @@ - project: elastic+helm-charts+%BRANCH%+staging+cluster-cleanup current-parameters: true trigger-with-no-params: false + - slack: + notify-back-to-normal: True + notify-every-failure: True + room: infra-release-notify + team-domain: elastic + auth-token-id: release-slack-integration-token + auth-token-credential-id: release-slack-integration-token diff --git a/.ci/jobs.t/elastic+helm-charts+{branch}.yml b/.ci/jobs.t/elastic+helm-charts+{branch}.yml index f526b0db9..3b02beb85 100644 --- a/.ci/jobs.t/elastic+helm-charts+{branch}.yml +++ b/.ci/jobs.t/elastic+helm-charts+{branch}.yml @@ -46,3 +46,10 @@ - project: elastic+helm-charts+%BRANCH%+cluster-cleanup current-parameters: false trigger-with-no-params: true + - slack: + notify-back-to-normal: True + notify-every-failure: True + room: infra-release-notify + team-domain: elastic + auth-token-id: release-slack-integration-token + auth-token-credential-id: release-slack-integration-token