Skip to content

Commit 2396f71

Browse files
fix: use named volume for ClickHouse to avoid permission issues in CI (#916)
The ClickHouse container was using a bind mount (./clickhouse-data) which creates files with root ownership. When GitHub Actions' setup-python action scans the workspace for pip caching, it fails with 'permission denied' on the clickhouse-data directory. This change switches to a named Docker volume (consistent with postgres and pgadmin), which keeps the data in Docker's volume storage and avoids the permission issue. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Yosef Arbiv <yosef.arbiv@gmail.com>
1 parent 55a0e39 commit 2396f71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

integration_tests/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
- "8123:8123"
2020
- "9000:9000"
2121
volumes:
22-
- ./clickhouse-data:/var/lib/clickhouse
22+
- clickhouse:/var/lib/clickhouse
2323
environment:
2424
CLICKHOUSE_DB: default
2525
CLICKHOUSE_USER: default
@@ -42,3 +42,4 @@ services:
4242
volumes:
4343
postgres:
4444
pgadmin:
45+
clickhouse:

0 commit comments

Comments
 (0)