oncall-engine/engine/apps/alerts
Ildar Iskhakov 1b7ada4315
Add database migrations linter (#1020)
# What this PR does

This PR adds
[django-migration-linter](https://github.com/3YOURMIND/django-migration-linter)
to keep database migrations
 backwards compatible

- we can automatically run migrations and they are zero-downtime, e.g.
old code can work with the migrated database
 - we can run and rollback migrations without worrying about data safety
- OnCall is deployed to the multiple environments core team is not able
to control

See [django-migration-linter
checklist](https://github.com/3YOURMIND/django-migration-linter/blob/main/docs/incompatibilities.md)
for the common mistakes and best practices


## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-02-06 16:01:37 +08:00
..
escalation_snapshot Handle a exceptions on some retrying tasks 2022-09-01 11:39:47 -06:00
grafana_alerting_sync_manager Refactor create/update contact points for Alerting integration (#872) 2023-01-25 09:42:42 +01:00
incident_appearance Add a dummy step for declare incident button in slack (#1157) 2023-01-19 14:50:02 +01:00
incident_log_builder Not previously handled backends (eg. mobile) could end here without a messaging backend 2022-10-26 09:30:13 -03:00
migrations Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
models Cache render_for_web field for alertgroups list serializer (#1236) 2023-01-28 12:50:41 +08:00
tasks Refactor create/update contact points for Alerting integration (#872) 2023-01-25 09:42:42 +01:00
terraform_renderer World, meet OnCall! 2022-06-03 08:09:47 -06:00
tests Keep track of direct paging schedule/importance in logs (#1269) 2023-02-02 09:21:31 -03:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
constants.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
integration_options_mixin.py Restore email notifications (#621) 2022-10-19 12:32:56 +01:00
paging.py Keep track of direct paging schedule/importance in logs (#1269) 2023-02-02 09:21:31 -03:00
representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
signals.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
utils.py Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00