Skip to content

Commit

Permalink
ci: add release notifier to pipeline
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ctgardner committed Jun 27, 2024
1 parent 4b17c1b commit 67d4e2b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- block: "Release build"
branches:
- main
# branches:
# - main
fields:
- select: "Prerelease?"
key: "release-type"
Expand All @@ -20,8 +20,8 @@ steps:
required: false

- label: ":github: Trigger release"
branches:
- main
# branches:
# - main
command: "bin/ci_trigger_release"
agents:
queue: ${BUILD_AGENT}
Expand All @@ -32,3 +32,11 @@ steps:
- cultureamp/aws-sm#v2.2.0:
env:
GITHUB_TOKEN: /cfparams/GITHUB_TOKEN

notify:
- slack:
channels:
- "#team_sre_foundations_alerts"
message: ":fyii: <!subteam^S03CQLT3G2J>: A new version of CFParams is ready to be released :shipit:"
if: build.state == "blocked"
# if: build.branch == "main"

0 comments on commit 67d4e2b

Please sign in to comment.