summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRishi.Chail <rishi.chail@est.tech>2021-04-23 11:51:42 +0100
committerRishi.Chail <rishi.chail@est.tech>2021-04-23 11:51:42 +0100
commite1c35f03cbfe720c49ca9cadfb0554a569b15722 (patch)
tree17ee44d4449857d39bdf2e256d98cc05834b38cc
parentefe679def187d07560601a3ff3beb719755b3d7a (diff)
Upgrade to PostgreSQL 13
Upgrade version in docker compose and test containers to match OOM version. Issue-ID: CPS-355 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I8da816fb932822e50380e7c12487e234d75fa4d7
-rwxr-xr-x[-rw-r--r--]cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java2
-rwxr-xr-x[-rw-r--r--]docker-compose/docker-compose.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java b/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java
index a621b2ca4d..d3908ea807 100644..100755
--- a/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java
+++ b/cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java
@@ -27,7 +27,7 @@ import org.testcontainers.containers.PostgreSQLContainer;
* otherwise would occur on each test.
*/
public class DatabaseTestContainer extends PostgreSQLContainer<DatabaseTestContainer> {
- private static final String IMAGE_VERSION = "postgres:11.1";
+ private static final String IMAGE_VERSION = "postgres:13.2";
private static DatabaseTestContainer databaseTestContainer;
private DatabaseTestContainer() {
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 2251304275..8b6414eed3 100644..100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -66,7 +66,7 @@ services:
dbpostgresql:
container_name: dbpostgresql
- image: postgres:12.4-alpine
+ image: postgres:13.2-alpine
ports:
- '5432:5432'
environment: