Upgrade to PostgreSQL 13 73/120873/1
authorRishi.Chail <rishi.chail@est.tech>
Fri, 23 Apr 2021 10:51:42 +0000 (11:51 +0100)
committerRishi.Chail <rishi.chail@est.tech>
Fri, 23 Apr 2021 10:51:42 +0000 (11:51 +0100)
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

cps-ri/src/test/java/org/onap/cps/DatabaseTestContainer.java [changed mode: 0644->0755]
docker-compose/docker-compose.yml [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a621b2c..d3908ea
@@ -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() {
old mode 100644 (file)
new mode 100755 (executable)
index 2251304..8b6414e
@@ -66,7 +66,7 @@ services:
 
   dbpostgresql:
     container_name: dbpostgresql
-    image: postgres:12.4-alpine
+    image: postgres:13.2-alpine
     ports:
       - '5432:5432'
     environment: