From b74778b83ba521abd38ca87822f6fe94f8eef1c1 Mon Sep 17 00:00:00 2001 From: Neil Campbell Date: Tue, 26 Mar 2024 10:58:33 +0800 Subject: [PATCH] chore: update the postgres version used in localnet from 13 to 16 (#463) --- src/algokit/core/sandbox.py | 2 +- ...t_with_existing_sandbox_with_out_of_date_config.approved.txt | 2 +- ...et.test_localnet_reset_without_existing_sandbox.approved.txt | 2 +- .../test_localnet_start.test_localnet_start.approved.txt | 2 +- ...net_start.test_localnet_start_health_bad_status.approved.txt | 2 +- ...calnet_start.test_localnet_start_health_failure.approved.txt | 2 +- ...st_localnet_start.test_localnet_start_with_name.approved.txt | 2 +- .../test_sandbox.test_get_docker_compose_yml.approved.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/algokit/core/sandbox.py b/src/algokit/core/sandbox.py index 53380c09..69d59325 100644 --- a/src/algokit/core/sandbox.py +++ b/src/algokit/core/sandbox.py @@ -425,7 +425,7 @@ def get_docker_compose_yml( indexer-db: container_name: "{name}_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_out_of_date_config.approved.txt b/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_out_of_date_config.approved.txt index 160e0196..a6c11999 100644 --- a/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_out_of_date_config.approved.txt +++ b/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_out_of_date_config.approved.txt @@ -67,7 +67,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_reset.test_localnet_reset_without_existing_sandbox.approved.txt b/tests/localnet/test_localnet_reset.test_localnet_reset_without_existing_sandbox.approved.txt index b0d66c3a..0eac128d 100644 --- a/tests/localnet/test_localnet_reset.test_localnet_reset_without_existing_sandbox.approved.txt +++ b/tests/localnet/test_localnet_reset.test_localnet_reset_without_existing_sandbox.approved.txt @@ -59,7 +59,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_start.test_localnet_start.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start.approved.txt index d471e3c2..78fb4a14 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start.approved.txt @@ -65,7 +65,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_start.test_localnet_start_health_bad_status.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_health_bad_status.approved.txt index 5d8559f1..f0b886e9 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_health_bad_status.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_health_bad_status.approved.txt @@ -65,7 +65,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_start.test_localnet_start_health_failure.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_health_failure.approved.txt index 87388647..444d5651 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_health_failure.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_health_failure.approved.txt @@ -64,7 +64,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_localnet_start.test_localnet_start_with_name.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_with_name.approved.txt index 696a5c66..99fb028c 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_with_name.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_with_name.approved.txt @@ -68,7 +68,7 @@ services: indexer-db: container_name: "algokit_sandbox_test_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres diff --git a/tests/localnet/test_sandbox.test_get_docker_compose_yml.approved.txt b/tests/localnet/test_sandbox.test_get_docker_compose_yml.approved.txt index 30f45aaf..0402fe46 100644 --- a/tests/localnet/test_sandbox.test_get_docker_compose_yml.approved.txt +++ b/tests/localnet/test_sandbox.test_get_docker_compose_yml.approved.txt @@ -39,7 +39,7 @@ services: indexer-db: container_name: "algokit_sandbox_postgres" - image: postgres:13-alpine + image: postgres:16-alpine ports: - 5443:5432 user: postgres