From 43ead8ab3d2167458ffa590259b614ade233e853 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Mon, 5 Feb 2024 10:26:43 +0100 Subject: [PATCH] feat(helm): use PostgreSQL 14.10 in local dev deployment (#774) Closes #744 --- helm/configurations/values-dev.yaml | 2 ++ reana/config.py | 2 +- reana/reana_dev/python.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/configurations/values-dev.yaml b/helm/configurations/values-dev.yaml index 41535ee0..9526e068 100644 --- a/helm/configurations/values-dev.yaml +++ b/helm/configurations/values-dev.yaml @@ -1,6 +1,8 @@ # REANA components pointing to `latest`, locally built master branch components: + reana_db: + image: docker.io/library/postgres:14.10 reana_server: image: docker.io/reanahub/reana-server environment: diff --git a/reana/config.py b/reana/config.py index eedda0a1..9da9bf6b 100644 --- a/reana/config.py +++ b/reana/config.py @@ -223,7 +223,7 @@ DOCKER_PREFETCH_IMAGES = { "reana": [ - "docker.io/library/postgres:12.13", + "docker.io/library/postgres:14.10", "docker.io/kozea/wdb:3.2.5", "docker.io/maildev/maildev:1.1.0", "docker.io/library/redis:5.0.5", diff --git a/reana/reana_dev/python.py b/reana/reana_dev/python.py index 6dadd70b..08ffb1dd 100644 --- a/reana/reana_dev/python.py +++ b/reana/reana_dev/python.py @@ -140,7 +140,7 @@ def python_unit_tests( run_command( f"docker stop postgres__{component}\n" f"docker run --rm --name postgres__{component} -p 5432:5432 " - "-e POSTGRES_PASSWORD=mysecretpassword -d docker.io/library/postgres:12.13" + "-e POSTGRES_PASSWORD=mysecretpassword -d docker.io/library/postgres:14.10" ) env_pytestarg = ""