djaploy 1.5.0__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {djaploy-1.5.0 → djaploy-1.5.2}/PKG-INFO +1 -1
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/Chart.yaml +1 -1
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/deployment.yaml +4 -5
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/values.yaml +4 -0
- djaploy-1.5.2/djaploy/version.py +1 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/PKG-INFO +1 -1
- {djaploy-1.5.0 → djaploy-1.5.2}/pyproject.toml +1 -1
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_k3s.py +1 -1
- djaploy-1.5.0/djaploy/version.py +0 -1
- {djaploy-1.5.0 → djaploy-1.5.2}/LICENSE +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/README.md +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/app.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/borg/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/borg/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/borg/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/janitor/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/janitor/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/janitor/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/janitor/infra/commands/createjanitoruser.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/janitor/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/nginx/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/nginx/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/nginx/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/nginx/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/rclone/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/rclone/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/rclone/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/rclone/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/sync_certs/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/sync_certs/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/sync_certs/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/sync_certs/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/systemd/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/systemd/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/systemd/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/systemd/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/tailscale/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/tailscale/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/tailscale/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/tailscale/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/versioning/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/versioning/apps.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/versioning/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/apps/versioning/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/artifact.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/bin/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/bin/django_pyinfra.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/bin/gunicornherder.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/builtin_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/certificates.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/changelog.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/_utils.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/activate.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/configure.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/deploy.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/restore.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/rollback.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/status.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/commands/sync_certs.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/config.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/deploy.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/discovery.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/bluegreen.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/_helpers.tpl +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/configmap.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/cronjobs.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/ingress.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/onepassword.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/pvc.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/service.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/charts/django-app/templates/workers.yaml +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/djaploy_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/k3s.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/templates.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/infra/utils.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/__init__.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/djaploy.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/restore_backup.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/sync_certs.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/update_certs.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/commands/verify.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/management/utils.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/notifications.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/utils.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy/versioning.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/SOURCES.txt +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/dependency_links.txt +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/entry_points.txt +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/requires.txt +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/djaploy.egg-info/top_level.txt +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/setup.cfg +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_bluegreen.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_borg.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_config.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_deploy_scripts.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_discovery.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_gunicornherder.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_hooks.py +0 -0
- {djaploy-1.5.0 → djaploy-1.5.2}/tests/test_versioning.py +0 -0
|
@@ -54,7 +54,6 @@ spec:
|
|
|
54
54
|
- --bind=0.0.0.0:8000
|
|
55
55
|
- --workers={{ .Values.gunicorn.workers }}
|
|
56
56
|
- --timeout={{ .Values.gunicorn.timeout }}
|
|
57
|
-
- --access-logfile=-
|
|
58
57
|
{{- range .Values.gunicorn.extraArgs }}
|
|
59
58
|
- {{ . | quote }}
|
|
60
59
|
{{- end }}
|
|
@@ -65,11 +64,11 @@ spec:
|
|
|
65
64
|
# Host + X-Forwarded-Proto so ALLOWED_HOSTS and SECURE_SSL_REDIRECT accept the probe.
|
|
66
65
|
startupProbe:
|
|
67
66
|
{{- include "django-app.probe" . | nindent 12 }}
|
|
68
|
-
periodSeconds:
|
|
69
|
-
failureThreshold:
|
|
67
|
+
periodSeconds: {{ .Values.probes.startupPeriodSeconds }}
|
|
68
|
+
failureThreshold: {{ div 300 .Values.probes.startupPeriodSeconds }}
|
|
70
69
|
readinessProbe:
|
|
71
70
|
{{- include "django-app.probe" . | nindent 12 }}
|
|
72
|
-
periodSeconds:
|
|
71
|
+
periodSeconds: {{ .Values.probes.readinessPeriodSeconds }}
|
|
73
72
|
timeoutSeconds: 5
|
|
74
73
|
livenessProbe:
|
|
75
74
|
{{- include "django-app.probe" . | nindent 12 }}
|
|
@@ -87,7 +86,7 @@ spec:
|
|
|
87
86
|
- { name: http, containerPort: 8080 }
|
|
88
87
|
readinessProbe:
|
|
89
88
|
tcpSocket: { port: http }
|
|
90
|
-
periodSeconds:
|
|
89
|
+
periodSeconds: {{ .Values.probes.readinessPeriodSeconds }}
|
|
91
90
|
livenessProbe:
|
|
92
91
|
tcpSocket: { port: http }
|
|
93
92
|
periodSeconds: 20
|
|
@@ -77,6 +77,10 @@ ingress:
|
|
|
77
77
|
|
|
78
78
|
probes:
|
|
79
79
|
path: /healthz
|
|
80
|
+
# -- Seconds between checks while the app starts (it gets 5 minutes in total),
|
|
81
|
+
# then while it runs. Short, so a rollout finishes as soon as the pod is up.
|
|
82
|
+
startupPeriodSeconds: 1
|
|
83
|
+
readinessPeriodSeconds: 2
|
|
80
84
|
|
|
81
85
|
resources:
|
|
82
86
|
web:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.5.2"
|
|
@@ -108,7 +108,7 @@ class ImageRefTests(unittest.TestCase):
|
|
|
108
108
|
|
|
109
109
|
class ChartTests(unittest.TestCase):
|
|
110
110
|
def test_bundled_chart_version(self):
|
|
111
|
-
self.assertEqual(k3s.chart_version(), "0.2.
|
|
111
|
+
self.assertEqual(k3s.chart_version(), "0.2.2")
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
class BuildModeTests(unittest.TestCase):
|
djaploy-1.5.0/djaploy/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.5.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|