diff --git a/poetry.lock b/poetry.lock index c9321409..eee834dd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -163,13 +163,13 @@ files = [ [[package]] name = "annotated-types" -version = "0.6.0" +version = "0.7.0" description = "Reusable constraint types to use with typing.Annotated" optional = false python-versions = ">=3.8" files = [ - {file = "annotated_types-0.6.0-py3-none-any.whl", hash = "sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43"}, - {file = "annotated_types-0.6.0.tar.gz", hash = "sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d"}, + {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"}, + {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, ] [[package]] @@ -1981,13 +1981,13 @@ ssh = ["paramiko"] [[package]] name = "poethepoet" -version = "0.25.1" +version = "0.26.1" description = "A task runner that works well with poetry." optional = false python-versions = ">=3.8" files = [ - {file = "poethepoet-0.25.1-py3-none-any.whl", hash = "sha256:fee433f68424593bca6b357f0bf997d64edf42c7305c0d5d335bd570b8d2352b"}, - {file = "poethepoet-0.25.1.tar.gz", hash = "sha256:98f4446533a4b2bdb08843e211f918b1f2e7f8baf6d1803ef78f64661ed62463"}, + {file = "poethepoet-0.26.1-py3-none-any.whl", hash = "sha256:aa43b443fec5d17d7e76771cccd484e5285805301721a74f059c483ad3276edd"}, + {file = "poethepoet-0.26.1.tar.gz", hash = "sha256:aaad8541f6072617a60bcff2562d00779b58b353bd0f1847b06d8d0f2b6dc192"}, ] [package.dependencies] @@ -2676,13 +2676,13 @@ md = ["cmarkgfm (>=0.8.0)"] [[package]] name = "requests" -version = "2.31.0" +version = "2.32.1" description = "Python HTTP for Humans." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, + {file = "requests-2.32.1-py3-none-any.whl", hash = "sha256:21ac9465cdf8c1650fe1ecde8a71669a93d4e6f147550483a2967d08396a56a5"}, + {file = "requests-2.32.1.tar.gz", hash = "sha256:eb97e87e64c79e64e5b8ac75cee9dd1f97f49e289b083ee6be96268930725685"}, ] [package.dependencies] @@ -3467,4 +3467,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "5563ae3d06831983ffee205d762933277813fc2bff7dabfe5cd84e30bb5154f4" +content-hash = "8740352ab55cf71730a52f6c756441bdf2193201402a1c0fd7b702fba757d4ce" diff --git a/pyproject.toml b/pyproject.toml index 8a930f9b..0d253260 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ mslex = "^1.1.0" keyring = "24.3.0" pyjwt = "^2.8.0" auth0-python = "^4.4.0" -algokit-utils = "^2.2.1" +algokit-utils = "^2.3.0" multiformats = "0.3.1" multiformats_config = "0.3.1" # pinned this to be in lockstep with multiformats aiohttp = "3.9.5" @@ -41,7 +41,7 @@ pre-commit = "^2.20.0" sphinx = "^6.0.0" sphinx-click = "^4.4.0" sphinxnotes-markdown-builder = "^0.5.6" -poethepoet = ">=0.17.1,<0.26.0" +poethepoet = ">=0.17.1,<0.27.0" gfm-toc = "^0.0.7" pytest-xdist = "^3.4.0" diff --git a/src/algokit/core/sandbox.py b/src/algokit/core/sandbox.py index 261dfa30..e7d27c2d 100644 --- a/src/algokit/core/sandbox.py +++ b/src/algokit/core/sandbox.py @@ -197,7 +197,7 @@ def _get_latest_image_version(self, image_name: str) -> str | None: data = httpx.get(url=url) return str(data.json()["digest"]) except Exception as err: - logger.debug(f"Error checking indexer status: {err}", exc_info=True) + logger.debug(f"Error checking image status: {err}", exc_info=True) return None def is_image_up_to_date(self, image_name: str) -> bool: @@ -227,7 +227,7 @@ def check_docker_compose_for_new_image_versions(self) -> None: DEFAULT_HEALTH_TIMEOUT = 1 ALGOD_HEALTH_URL = f"{DEFAULT_ALGOD_SERVER}:{DEFAULT_ALGOD_PORT}/v2/status" INDEXER_IMAGE = "algorand/indexer:latest" -ALGORAND_IMAGE = "algorand/algod:latest" +ALGORAND_IMAGE = "algorand/algod:3.23.1-stable" CONDUIT_IMAGE = "algorand/conduit:latest" diff --git a/tests/localnet/conftest.py b/tests/localnet/conftest.py index bf03051a..d5941544 100644 --- a/tests/localnet/conftest.py +++ b/tests/localnet/conftest.py @@ -40,7 +40,7 @@ def _localnet_up_to_date(proc_mock: ProcMock, httpx_mock: HTTPXMock) -> None: ) httpx_mock.add_response( - url="https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest", + url="https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable", json={ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", }, 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 06109624..12c121ff 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 @@ -13,9 +13,9 @@ LocalNet definition is out of date; updating it to latest DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' docker: STDOUT @@ -31,7 +31,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 diff --git a/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_up_to_date_config.approved.txt b/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_up_to_date_config.approved.txt index 71740e38..fbe8f333 100644 --- a/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_up_to_date_config.approved.txt +++ b/tests/localnet/test_localnet_reset.test_localnet_reset_with_existing_sandbox_with_up_to_date_config.approved.txt @@ -12,9 +12,9 @@ DEBUG: docker: STDERR DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' docker: STDOUT 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 3041bac9..484a5ec2 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 @@ -23,7 +23,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 diff --git a/tests/localnet/test_localnet_start.py b/tests/localnet/test_localnet_start.py index 195df0b2..483bacf3 100644 --- a/tests/localnet/test_localnet_start.py +++ b/tests/localnet/test_localnet_start.py @@ -40,7 +40,7 @@ def _localnet_out_of_date(proc_mock: ProcMock, httpx_mock: HTTPXMock) -> None: ) httpx_mock.add_response( - url="https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest", + url="https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable", json={ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", }, diff --git a/tests/localnet/test_localnet_start.test_localnet_img_check_cmd_error.approved.txt b/tests/localnet/test_localnet_start.test_localnet_img_check_cmd_error.approved.txt index 5bd8cf29..338d59ea 100644 --- a/tests/localnet/test_localnet_start.test_localnet_img_check_cmd_error.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_img_check_cmd_error.approved.txt @@ -7,10 +7,10 @@ DEBUG: Running 'docker compose ls --format json --filter name=algokit_sandbox*' DEBUG: docker: [{"Name": "algokit_sandbox", "Status": "running", "ConfigFiles": "test/sandbox/docker-compose.yml"}] DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' -DEBUG: Error checking indexer status: No response can be found for GET request on https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest amongst: +DEBUG: Error checking image status: No response can be found for GET request on https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest amongst: Match all requests on http://localhost:4001/v2/status -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' -DEBUG: Error checking indexer status: No response can be found for GET request on https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest amongst: +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Error checking image status: No response can be found for GET request on https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable amongst: Match all requests on http://localhost:4001/v2/status DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... 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 5d07b203..73285551 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start.approved.txt @@ -9,9 +9,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' @@ -29,7 +29,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 diff --git a/tests/localnet/test_localnet_start.test_localnet_start_failure.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_failure.approved.txt index 9734b649..db671817 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_failure.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_failure.approved.txt @@ -9,9 +9,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' 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 4b23c02d..79a9e69c 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 @@ -9,9 +9,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' @@ -29,7 +29,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 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 f1ae3054..b184a447 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 @@ -9,9 +9,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' @@ -28,7 +28,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 diff --git a/tests/localnet/test_localnet_start.test_localnet_start_out_date.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_out_date.approved.txt index 38b49778..14720aa4 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_out_date.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_out_date.approved.txt @@ -10,9 +10,9 @@ DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (s DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" WARNING: indexer has a new version available, run `algokit localnet reset --update` to get the latest version -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" WARNING: algod has a new version available, run `algokit localnet reset --update` to get the latest version DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... diff --git a/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition.approved.txt index 38cc4bb9..6b3f2b37 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition.approved.txt @@ -8,9 +8,9 @@ DEBUG: docker: [{"Name": "algokit_sandbox", "Status": "running", "ConfigFiles": DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" WARNING: LocalNet definition is out of date; please run `algokit localnet reset` Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' diff --git a/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition_and_missing_config.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition_and_missing_config.approved.txt index 75689fe0..23fbdc11 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition_and_missing_config.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_out_of_date_definition_and_missing_config.approved.txt @@ -8,9 +8,9 @@ DEBUG: docker: [{"Name": "algokit_sandbox", "Status": "running", "ConfigFiles": DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" WARNING: LocalNet definition is out of date; please run `algokit localnet reset` Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' diff --git a/tests/localnet/test_localnet_start.test_localnet_start_up_to_date_definition.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_up_to_date_definition.approved.txt index 1f36a02f..4b18f469 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_up_to_date_definition.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_up_to_date_definition.approved.txt @@ -8,9 +8,9 @@ DEBUG: docker: [{"Name": "algokit_sandbox", "Status": "running", "ConfigFiles": DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not require updating Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' diff --git a/tests/localnet/test_localnet_start.test_localnet_start_with_gitpod_docker_compose_version.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_with_gitpod_docker_compose_version.approved.txt index a7f08159..e7ed1d44 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_with_gitpod_docker_compose_version.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_with_gitpod_docker_compose_version.approved.txt @@ -9,9 +9,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' 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 0b798fdb..9d0efb3a 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 @@ -9,9 +9,9 @@ DEBUG: The sandbox_test directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox_test' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox_test' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox_test' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time The named LocalNet configuration has been created in {app_config}/sandbox_test. You can edit the configuration by changing those files. Running `algokit localnet reset` will ensure the configuration is applied @@ -32,7 +32,7 @@ name: "algokit_sandbox_test" services: algod: container_name: "algokit_sandbox_test_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833 diff --git a/tests/localnet/test_localnet_start.test_localnet_start_with_unparseable_docker_compose_version.approved.txt b/tests/localnet/test_localnet_start.test_localnet_start_with_unparseable_docker_compose_version.approved.txt index db14b7d9..92c16ffc 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start_with_unparseable_docker_compose_version.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start_with_unparseable_docker_compose_version.approved.txt @@ -12,9 +12,9 @@ DEBUG: The sandbox directory does not exist yet; creating it DEBUG: Running 'docker image inspect algorand/indexer:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/indexer/tags/latest "HTTP/1.1 200 OK" -DEBUG: Running 'docker image inspect algorand/algod:latest --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' +DEBUG: Running 'docker image inspect algorand/algod:3.23.1-stable --format {{index (split (index .RepoDigests 0) "@") 1}}' in '{app_config}/sandbox' DEBUG: docker: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/latest "HTTP/1.1 200 OK" +DEBUG: HTTP Request: GET https://registry.hub.docker.com/v2/repositories/algorand/algod/tags/3.23.1-stable "HTTP/1.1 200 OK" DEBUG: LocalNet compose file does not exist yet; writing it out for the first time Starting AlgoKit LocalNet now... DEBUG: Running 'docker compose up --detach --quiet-pull --wait' in '{app_config}/sandbox' 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 6f22f0bd..c17ee047 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 @@ -3,7 +3,7 @@ name: "algokit_sandbox" services: algod: container_name: "algokit_sandbox_algod" - image: algorand/algod:latest + image: algorand/algod:3.23.1-stable ports: - 4001:8080 - 4002:7833