From 5d5354877707c7114c7993a982821a9ed470d1cf Mon Sep 17 00:00:00 2001 From: Callum Gardner <10970827+ctgardner@users.noreply.github.com> Date: Thu, 27 Jun 2024 09:59:42 +1000 Subject: [PATCH] ci: add release notifier to pipeline Configured a Slack message to be sent to Team SRE Foundations when a new release is ready to be published. (Effectively, after every merge into `origin/main`.) This notifier was added to ensure dependency upgrades are actually released, not just merged and forgotten/unreleased. --- .buildkite/pipeline.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 38be2cb..f563852 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -32,3 +32,10 @@ steps: - cultureamp/aws-sm#v2.2.0: env: GITHUB_TOKEN: /cfparams/GITHUB_TOKEN + +notify: + - slack: + channels: + - "#team_sre_foundations_alerts" + message: ":fyii: : A new version of CFParams is ready to be released :shipit:" + if: 'build.branch == "main" && build.state == "blocked"'