Skip to content

Commit da0c7bc

Browse files
committed
fix(docker): prevent running in Docker on Windows
1 parent 38eb0c5 commit da0c7bc

11 files changed

Lines changed: 23 additions & 5 deletions

bindings/python/examples/07_stackoverflow_tables_oltp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,9 @@ def resolve_arcadedb_heap_size(mem_limit: str, heap_fraction: float) -> str:
19991999

20002000

20012001
def run_in_docker(args):
2002+
if os.name == "nt":
2003+
return False
2004+
20022005
if is_running_in_docker():
20032006
return False
20042007

bindings/python/examples/08_stackoverflow_tables_olap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,9 @@ def resolve_arcadedb_heap_size(
13071307

13081308

13091309
def run_in_docker(args):
1310+
if os.name == "nt":
1311+
return False
1312+
13101313
if is_running_in_docker():
13111314
return False
13121315

bindings/python/examples/09_stackoverflow_graph_oltp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7711,6 +7711,9 @@ def resolve_arcadedb_heap_size(
77117711

77127712

77137713
def run_in_docker(args) -> bool:
7714+
if os.name == "nt":
7715+
return False
7716+
77147717
if is_running_in_docker():
77157718
return False
77167719

bindings/python/examples/10_stackoverflow_graph_olap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4898,6 +4898,9 @@ def resolve_arcadedb_heap_size(
48984898

48994899

49004900
def run_in_docker(args) -> bool:
4901+
if os.name == "nt":
4902+
return False
4903+
49014904
if is_running_in_docker():
49024905
return False
49034906

bindings/python/examples/11_vector_index_build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,9 @@ def best_effort_sync_outputs(args, docker_bin: str) -> None:
13461346

13471347

13481348
def run_in_docker(args) -> bool:
1349+
if os.name == "nt":
1350+
return False
1351+
13491352
if is_running_in_docker():
13501353
return False
13511354

bindings/python/examples/12_vector_search.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,9 @@ def best_effort_sync_outputs(args, docker_bin: str) -> None:
16621662

16631663

16641664
def run_in_docker(args) -> bool:
1665+
if os.name == "nt":
1666+
return False
1667+
16651668
if is_running_in_docker():
16661669
return False
16671670

bindings/python/examples/benchmark_results/summary_07_tables_oltp_all_datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 07 Tables OLTP Matrix Summary — All Dataset Sizes
22

3-
- Generated (UTC): 2026-03-04T16:54:27Z
3+
- Generated (UTC): 2026-03-04T17:26:56Z
44
- Dataset: all
55
- Dataset size profile: all
66
- Label prefix: sweep07

bindings/python/examples/benchmark_results/summary_08_tables_olap_all_datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 08 Tables OLAP Matrix Summary — All Dataset Sizes
22

3-
- Generated (UTC): 2026-03-04T16:54:27Z
3+
- Generated (UTC): 2026-03-04T17:26:57Z
44
- Dataset: all
55
- Dataset size profile: all
66
- Label prefix: sweep08

bindings/python/examples/benchmark_results/summary_09_graph_oltp_all_datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 09 Graph OLTP Matrix Summary — All Dataset Sizes
22

3-
- Generated (UTC): 2026-03-04T16:54:27Z
3+
- Generated (UTC): 2026-03-04T17:26:57Z
44
- Dataset: all
55
- Dataset size profile: all
66
- Label prefix: sweep09

bindings/python/examples/benchmark_results/summary_10_graph_olap_all_datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 10 Graph OLAP Matrix Summary — All Dataset Sizes
22

3-
- Generated (UTC): 2026-03-04T16:54:27Z
3+
- Generated (UTC): 2026-03-04T17:26:57Z
44
- Dataset: all
55
- Dataset size profile: all
66
- Label prefix: sweep10

0 commit comments

Comments
 (0)