From 897e33554252083ed2b0d8a18a49969ef82a097b Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 22 Nov 2023 18:49:28 +0100 Subject: [PATCH] fix: hotfixing conduit path for localnet windows compatibility (#360) * fix: hotfixing bind mount for conduit on windows * chore: updating tests --- 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 +- .../test_sandbox.test_get_docker_compose_yml.approved.txt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/algokit/core/sandbox.py b/src/algokit/core/sandbox.py index e2f64c89..e9d8da3a 100644 --- a/src/algokit/core/sandbox.py +++ b/src/algokit/core/sandbox.py @@ -390,7 +390,7 @@ def get_docker_compose_yml( restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 137b4c30..1fb4b645 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 @@ -56,7 +56,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 b652e41e..8392b501 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 @@ -48,7 +48,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 f9c19aa9..f1dc32b2 100644 --- a/tests/localnet/test_localnet_start.test_localnet_start.approved.txt +++ b/tests/localnet/test_localnet_start.test_localnet_start.approved.txt @@ -54,7 +54,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 b822d03d..72befb92 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 @@ -54,7 +54,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 f713111c..1138188e 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 @@ -53,7 +53,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db 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 565a4297..1dba024a 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 @@ -30,7 +30,7 @@ services: restart: unless-stopped volumes: - type: bind - source: ~/.config/algokit/sandbox/conduit.yml + source: ./conduit.yml target: /etc/algorand/conduit.yml depends_on: - indexer-db