Skip to content

Commit

Permalink
Merge branch 'release/1.5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
JackMorganNZ committed Nov 3, 2019
2 parents 9c2152e + 96fa812 commit df1d4dc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.5.2
- Split GCP health check URLs.

## 1.5.1
- Update GCP health checks.

Expand Down
2 changes: 1 addition & 1 deletion codewof/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Configuration for Django system."""

__version__ = "1.5.1"
__version__ = "1.5.2"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num
Expand Down
3 changes: 2 additions & 1 deletion codewof/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
path('users/', include('users.urls', namespace='users'),),
path('accounts/', include('allauth.urls')),
path('', include('programming.urls', namespace='programming'),),
path('_ah/health', health_check),
path('gae/liveness_check', health_check),
path('gae/readiness_check', health_check),
path('ckeditor/', include('ckeditor_uploader.urls')),
] + static(
settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
Expand Down
6 changes: 2 additions & 4 deletions infrastructure/dev-deploy/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ resources:
memory_gb: 3.75

liveness_check:
path: "/_ah/health"
check_interval_sec: 5
path: "/gae/liveness_check"

readiness_check:
path: "/_ah/health"
check_interval_sec: 5
path: "/gae/readiness_check"

manual_scaling:
instances: 1
6 changes: 2 additions & 4 deletions infrastructure/prod-deploy/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ resources:
memory_gb: 3.75

liveness_check:
path: "/_ah/health"
check_interval_sec: 5
path: "/gae/liveness_check"

readiness_check:
path: "/_ah/health"
check_interval_sec: 5
path: "/gae/readiness_check"

0 comments on commit df1d4dc

Please sign in to comment.