diff --git a/Dockerfile b/Dockerfile index c15b69c..f99afa2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:alpine +FROM python:alpine3.14 # Getting things ready WORKDIR /usr/src/shynet diff --git a/kubernetes/deployments.yml b/kubernetes/deployments.yml index 9b7c45f..eec0266 100644 --- a/kubernetes/deployments.yml +++ b/kubernetes/deployments.yml @@ -17,7 +17,7 @@ spec: spec: containers: - name: "shynet-webserver" - image: "milesmcc/shynet:latest" + image: "milesmcc/shynet:edge" # Change to the version appropriate for you (e.g., :latest) imagePullPolicy: Always envFrom: - secretRef: @@ -42,7 +42,7 @@ spec: spec: containers: - name: "shynet-celeryworker" - image: "milesmcc/shynet:latest" + image: "milesmcc/shynet:edge" # Change to the version appropriate for you (e.g., :latest) command: ["./celeryworker.sh"] imagePullPolicy: Always envFrom: @@ -95,7 +95,7 @@ spec: selector: app: shynet-webserver --- -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: shynet-webserver-ingress diff --git a/shynet/dashboard/mixins.py b/shynet/dashboard/mixins.py index e86d425..a078c38 100644 --- a/shynet/dashboard/mixins.py +++ b/shynet/dashboard/mixins.py @@ -45,11 +45,6 @@ class DateRangeMixin: "start": now.replace(day=1), "end": now, }, - { - "name": "Last month", - "start": now.replace(day=1, month=now.month - 1), - "end": now.replace(day=1, month=now.month) - timezone.timedelta(days=1), - }, { "name": "This year", "start": now.replace(day=1, month=1), diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 9232d65..ec0ade3 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -22,7 +22,7 @@ from django.contrib.messages import constants as messages load_dotenv() # Increment on new releases -VERSION = "0.11.0" +VERSION = "0.12.0" # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))