Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

sg/msp: add cloud deploy pubsub notifications#62596

Merged
jac merged 13 commits into
mainfrom
jac/rollout-notifs
May 10, 2024
Merged

sg/msp: add cloud deploy pubsub notifications#62596
jac merged 13 commits into
mainfrom
jac/rollout-notifs

Conversation

@jac

@jac jac commented May 10, 2024

Copy link
Copy Markdown
Member

Adds notifications for success and failure of cloud deploy rollouts by sending pubsub events to an endpoint.

Adds the MSP Rollouts bot to provisioned #alerts-- channels so it can send notifications.
It adds it to all service channels even if they're not using rollouts which I think is fine

We get the endpoint to send notifications to from a secret in sourcegraph-secrets

Closes CORE-30

Test plan

locally tested

@jac jac requested a review from a team May 10, 2024 15:00
@cla-bot cla-bot Bot added the cla-signed label May 10, 2024

@unknwon unknwon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of minor suggestions, and the NOTIF thing 😁

Comment thread dev/managedservicesplatform/googlesecretsmanager/googlesecretsmanager.go Outdated
Comment thread dev/managedservicesplatform/googlesecretsmanager/googlesecretsmanager.go Outdated
Comment thread dev/managedservicesplatform/stacks/cloudrun/cloudrun.go Outdated
Comment thread dev/managedservicesplatform/stacks/cloudrun/cloudrun.go Outdated
Comment thread dev/managedservicesplatform/stacks/cloudrun/cloudrun.go Outdated
Comment thread dev/managedservicesplatform/stacks/cloudrun/cloudrun.go Outdated
Comment thread dev/managedservicesplatform/stacks/monitoring/monitoring.go Outdated
Comment thread dev/managedservicesplatform/stacks/project/project.go Outdated
Comment thread dev/managedservicesplatform/stacks/monitoring/monitoring.go Outdated
Comment thread dev/managedservicesplatform/stacks/monitoring/monitoring.go Outdated
Comment thread dev/managedservicesplatform/stacks/cloudrun/cloudrun.go Outdated

@bobheadxi bobheadxi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits :) Exciting!

@bobheadxi

Copy link
Copy Markdown
Member

Also @jac , reminder to tag the relevant Linear issue - if it doesn't close it, you can use related to CORE-..., but if you have multiple PRs closing it you can mark them all as closes and Linear won't close the issue until they all merge :)

@jac jac force-pushed the jac/rollout-notifs branch from f174be7 to aa6ce03 Compare May 10, 2024 21:29
@jac jac merged commit 2d5ed2e into main May 10, 2024
@jac jac deleted the jac/rollout-notifs branch May 10, 2024 21:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants