Skip to content

Commit

Permalink
Merge pull request #168 from hibare/dev
Browse files Browse the repository at this point in the history
Bug Fixes + Dependencies update
  • Loading branch information
hibare authored Mar 9, 2022
2 parents d91a38e + c349924 commit 6654a6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim as base
FROM python:3.10.2-slim as base

LABEL Github="hibare"

Expand Down
2 changes: 1 addition & 1 deletion backend/jobs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def status(self, request, **kwargs):
"""

if self.queryset.exists():
health = [job.healthy for job in self.queryset.all()]
health = [job.healthy for job in self.queryset.filter(state=True)]

if health.count(False):
return Response({"status": False, "jobs": health.count(False)}, status=status.HTTP_200_OK)
Expand Down
17 changes: 3 additions & 14 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,23 @@
#
# pip-compile requirements.in
#
--trusted-host pypi.org

apscheduler==3.8.1
# via django-apscheduler
asgiref==3.4.1
# via django
backports.zoneinfo==0.2.1
# via
# django
# pytz-deprecation-shim
# tzlocal
beautifulsoup4==4.10.0
# via -r requirements.in
dj-database-url==0.5.0
# via -r requirements.in
django==4.0.2
django==4.0.3
# via
# -r requirements.in
# django-apscheduler
# django-filter
# django-model-utils
# djangorestframework
# djangorestframework-simplejwt
django-apscheduler==0.6.0
django-apscheduler==0.6.2
# via -r requirements.in
django-filter==21.1
# via -r requirements.in
Expand All @@ -37,14 +30,12 @@ djangorestframework==3.13.1
# via
# -r requirements.in
# djangorestframework-simplejwt
djangorestframework-simplejwt==5.0.0
djangorestframework-simplejwt==5.1.0
# via -r requirements.in
drf-writable-nested==0.6.3
# via -r requirements.in
gunicorn==20.1.0
# via -r requirements.in
importlib-metadata==4.9.0
# via markdown
markdown==3.3.6
# via -r requirements.in
psycopg2-binary==2.9.3
Expand Down Expand Up @@ -75,8 +66,6 @@ urllib3==1.26.8
# via -r requirements.in
whitenoise==6.0.0
# via -r requirements.in
zipp==3.6.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit 6654a6f

Please sign in to comment.