Compare commits

...
Author SHA1 Message Date
renovate-bot 122e0f262b Update python Docker tag to v3.12.16
continuous-integration/drone/pr Build is failing
2026-11-06 08:36:12 +00:00
Brain 0011ac9cb9 Merge pull request 'Check pooled database connections before reusing them' (!137) from fix-db-disconnect into main
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #137
2025-09-26 15:15:26 +02:00
Brain bf71ae7da5 Merge pull request 'Update python Docker tag to v3.11.13' (!122) from renovate/minor-3.11-python into main
continuous-integration/drone/push Build is passing
Reviewed-on: #122
2025-09-19 18:29:57 +02:00
Brain 4c88ee4c06 Check pooled database connections before reusing them
continuous-integration/drone/pr Build is passing
Fixes #43
2025-09-19 18:18:19 +02:00
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ services:
steps:
- name: install-lint-test
image: python:3.11.13-alpine@sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8
image: python:3.12.16-alpine@sha256:e064671ca452259bab50e8e2c7bd896e39e9a343bb06ca25234adf6fe18d0fc7
env:
PYROOT: '/pyroot'
PYTHONUSERBASE: '/pyroot'
@@ -124,7 +124,7 @@ services:
steps:
- name: install-lint-test
image: python:3.11.13-alpine@sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8
image: python:3.12.16-alpine@sha256:e064671ca452259bab50e8e2c7bd896e39e9a343bb06ca25234adf6fe18d0fc7
env:
PYROOT: '/pyroot'
PYTHONUSERBASE: '/pyroot'
+1 -1
View File
@@ -1 +1 @@
3.11.13
3.12.16
+2 -2
View File
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM python:3.11.13-alpine@sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8 AS builder
FROM python:3.12.16-alpine@sha256:e064671ca452259bab50e8e2c7bd896e39e9a343bb06ca25234adf6fe18d0fc7 AS builder
ENV PYROOT=/pyroot
ENV PYTHONUSERBASE=$PYROOT
@@ -20,7 +20,7 @@ RUN PIP_USER=1 PIP_IGNORE_INSTALLED=1 pipenv install --system --deploy --ignore-
RUN pip3 uninstall --yes pipenv
FROM python:3.11.13-alpine@sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8 AS ki-backend
FROM python:3.12.16-alpine@sha256:e064671ca452259bab50e8e2c7bd896e39e9a343bb06ca25234adf6fe18d0fc7 AS ki-backend
ENV PYROOT=/pyroot
ENV PYTHONUSERBASE=$PYROOT
+1 -1
View File
@@ -38,7 +38,7 @@ app.config["KI_LDAP_AUTH_PASSWORD"] = os.getenv("KI_LDAP_AUTH_PASSWORD")
app.config["KI_LDAP_BASE_DN"] = os.getenv("KI_LDAP_BASE_DN")
CORS(app)
db = SQLAlchemy(app, session_options={"future": True})
db = SQLAlchemy(app, session_options={"future": True}, engine_options={"pool_pre_ping": True})
migrate = Migrate(app, db, compare_type=True)
app.logger.info("Hello from KI")