Skip to content

Commit

Permalink
db: move to PostgreSQL 12.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Jan 12, 2023
1 parent 82db135 commit 0edc5e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Version 0.9.0 (UNRELEASED)
- Adds Kerberos sidecar container to renew ticket periodically for long-running jobs.
- Changes ``reana-auth-vomsproxy`` sidecar to the latest stable version to support client-side proxy file generation technique and ESCAPE VOMS.
- Changes default Slurm partition to ``inf-short``.
- Changes to PostgreSQL 12.10.
- Changes to PostgreSQL 12.13.

Version 0.8.1 (2022-02-07)
---------------------------
Expand Down
4 changes: 2 additions & 2 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# This file is part of REANA.
# Copyright (C) 2017, 2018, 2020, 2021, 2022 CERN.
# Copyright (C) 2017, 2018, 2020, 2021, 2022, 2023 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -45,7 +45,7 @@ clean_old_db_container () {

start_db_container () {
echo '==> [INFO] Starting DB container...'
docker run --rm --name postgres__reana-job-controller -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres:12.10
docker run --rm --name postgres__reana-job-controller -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres:12.13
_check_ready "Postgres" _db_check
db_container_ip=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' postgres__reana-job-controller)
export REANA_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://postgres:mysecretpassword@$db_container_ip/postgres
Expand Down

0 comments on commit 0edc5e8

Please sign in to comment.