Skip to content

Commit

Permalink
0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
abkfenris committed Apr 7, 2020
1 parent 91c065b commit 465aaeb
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Changes:

Fixes:

## 0.1.5 - 4/7/2020

Changes:

- Add Redis integration to Sentry.
- Update Kubernetes configs from various beta versions to apps/v1.

## 0.1.4 - 4/7/2020

Changes:
Expand Down
3 changes: 2 additions & 1 deletion app/buoy_barn/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import sentry_sdk
from sentry_sdk.integrations.celery import CeleryIntegration
from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.redis import RedisIntegration

logger = logging.getLogger(__name__)

Expand All @@ -28,7 +29,7 @@
try:
sentry_sdk.init(
dsn=os.environ["SENTRY_DSN"],
integrations=[CeleryIntegration(), DjangoIntegration()],
integrations=[CeleryIntegration(), DjangoIntegration(), RedisIntegration()],
environment="dev" if DEBUG else "prod",
)
logger.info("Sentry initialized")
Expand Down
2 changes: 1 addition & 1 deletion k8s/base/cache.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: buoy-barn-cache
Expand Down
7 changes: 6 additions & 1 deletion k8s/base/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
Expand All @@ -7,6 +7,11 @@ metadata:
role: api
name: web
spec:
selector:
matchLabels:
service: web
tier: frontend
role: api
template:
metadata:
labels:
Expand Down
7 changes: 6 additions & 1 deletion k8s/base/worker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
Expand All @@ -7,6 +7,11 @@ metadata:
role: worker
name: worker
spec:
selector:
matchLabels:
service: celery
tier: backend
role: worker
template:
metadata:
labels:
Expand Down

0 comments on commit 465aaeb

Please sign in to comment.