oncall-engine/engine
Vadim Stepanov 07368f3b93
Allow passing Firebase credentials via environment variable (#1969)
# What this PR does
Allow passing Google application credentials (used to send FCM messages
using `fcm-django`) as an environment variable
`GOOGLE_APPLICATION_CREDENTIALS_JSON_BASE64`. If the env variable is not
provided, credentials will be taken from file. This change allows uWSGI
workers send messages to FCM (currently it's not possible because the
uWSGI user doesn't have access to the credentials file) + makes
configuration more consistent.

Also removes a redundant `FCM_PROJECT_ID` env variable (Google
application credentials already contain the project ID).

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-05-22 12:20:06 +00:00
..
apps Fix inbound email bug when attaching files (#1970) 2023-05-18 17:35:36 +00:00
common Fix bug with newlines markdown converter (#1925) 2023-05-12 11:26:08 +08:00
config_integrations Allow null for short description in integrations api (#1952) 2023-05-17 18:43:01 +08:00
engine add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
settings Allow passing Firebase credentials via environment variable (#1969) 2023-05-22 12:20:06 +00:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore modify push notification settings + use fcm-django library (#998) 2022-12-20 12:41:34 +01:00
celery_with_exporter.sh Add flag to debug logs (#912) 2022-11-29 11:16:42 +08:00
conftest.py add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
Dockerfile upgrade to python 3.11.3 (#1849) 2023-05-05 15:32:40 +00:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt Bump pymdown-extensions from 9.11 to 10.0 in /engine (#1943) 2023-05-17 10:37:49 +00:00
tox.ini Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
uwsgi.ini Configure pyroscope (#1638) 2023-03-28 11:34:37 +08:00
wait_for_test_mysql_start.sh Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00