sourcegraph/dev/managedservicesplatform/spec
James Cotter 4c040347ec
sg/msp: enable alerting by default for production projects (#63912)
<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->
Opsgenie alert notifications for critical alerts should be enabled by
default for production projects or where `env.alerting.opsgenie` is set
to true.

Closes CORE-223
## Test plan
Tested locally by running `sg msp gen` for a `prod` env which doesn't
have an alerting config and verifying that notification suppression was
disabled

Set `env.alerting.opsgenie` to false which enabled suppression again.

No changes to `test` environments unless `env.alerting.opsgenie` is set
to true.
2024-07-18 20:57:38 +01:00
..
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
build.go msp: generate projectID up-front and persist in spec (#59220) 2023-12-22 17:25:40 -08:00
environment_test.go fix/msp: test for cron interval changes based on time, add more restrictions (#62969) 2024-05-29 18:24:39 -07:00
environment.go sg/msp: enable alerting by default for production projects (#63912) 2024-07-18 20:57:38 +01:00
monitoring.go chore/msp/spec: tidy up custom alerts spec (#63050) 2024-06-03 13:53:01 -07:00
projectid.go msp: generate projectID up-front and persist in spec (#59220) 2023-12-22 17:25:40 -08:00
rollout.go feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704) 2024-05-16 09:43:47 -07:00
service_test.go msp: support custom project-level iam config (#57905) 2023-10-26 08:43:45 -07:00
service.go chore/msp: document gRPC notes in spec docstrings (#63140) 2024-06-06 14:20:50 -07:00
spec.go feat/sg/msp: add 'sg msp validate' for validating service specifications (#62973) 2024-05-30 09:11:36 -07:00