From 8f577cc4fe707fe0d6cc9159580f20d932131c0f 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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 38be2cb..69d343d 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,7 +1,7 @@ steps: - block: "Release build" - branches: - - main + # branches: + # - main fields: - select: "Prerelease?" key: "release-type" @@ -32,3 +32,9 @@ 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"