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 26, 2024
1 parent 4b17c1b commit 789e24d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 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 @@ -18,6 +18,12 @@ steps:
key: "release-version"
hint: "(optional) forced version (X.X.X)"
required: false
notify:
- slack:
channels:
- "#team_sre_foundations_alerts"
message: ":fyii: <!subteam^S03CQLT3G2J>: A new version of CFParams is ready to be released :shipit:"
# if: build.branch == "main"

- label: ":github: Trigger release"
branches:
Expand Down

0 comments on commit 789e24d

Please sign in to comment.