Skip to content

Commit 132c9bd

Browse files
authored
Merge pull request ClickHouse#87940 from ClickHouse/backport/25.8/87897
2 parents 4b2974e + 180b29a commit 132c9bd

File tree

2 files changed

+30
-34
lines changed

2 files changed

+30
-34
lines changed

tests/integration/compose/docker_compose_iceberg_lakekeeper_catalog.yml

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,21 @@ services:
77
- LAKEKEEPER__PG_DATABASE_URL_WRITE=postgresql://postgres:postgres@db:5432/postgres
88
- RUST_LOG=info
99
command: ["serve"]
10+
ports:
11+
- 8181:8181
1012
healthcheck:
1113
test: ["CMD", "/home/nonroot/lakekeeper", "healthcheck"]
1214
interval: 1s
1315
timeout: 10s
1416
retries: 10
1517
start_period: 30s
1618
depends_on:
19+
mc:
20+
condition: service_completed_successfully
1721
migrate:
1822
condition: service_completed_successfully
1923
db:
2024
condition: service_healthy
21-
minio:
22-
condition: service_healthy
23-
ports:
24-
- 8181:8181
25-
2625

2726
migrate:
2827
image: vakamo/lakekeeper:v0.9.4
@@ -37,15 +36,14 @@ services:
3736
db:
3837
condition: service_healthy
3938

40-
4139
bootstrap:
4240
image: curlimages/curl
4341
depends_on:
4442
lakekeeper:
4543
condition: service_healthy
4644
restart: "no"
4745
command:
48-
- -w
46+
- "-w"
4947
- "%{http_code}"
5048
- "-X"
5149
- "POST"
@@ -58,47 +56,45 @@ services:
5856
- "-o"
5957
- "/dev/null"
6058

61-
62-
63-
64-
65-
6659
db:
67-
image: bitnami/postgresql:16.3.0
60+
image: postgres:16
6861
environment:
69-
- POSTGRESQL_USERNAME=postgres
70-
- POSTGRESQL_PASSWORD=postgres
71-
- POSTGRESQL_DATABASE=postgres
62+
- POSTGRES_USER=postgres
63+
- POSTGRES_PASSWORD=postgres
64+
- POSTGRES_DB=postgres
7265
healthcheck:
73-
test: ["CMD-SHELL", "pg_isready -U postgres -p 5432 -d postgres"]
66+
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
7467
interval: 2s
7568
timeout: 10s
7669
retries: 5
7770
start_period: 10s
7871

79-
# TODO: can we simply use with_minio=True instead?
8072
minio:
81-
image: bitnami/minio:2025.4.22
73+
image: minio/minio:RELEASE.2024-07-31T05-46-26Z
8274
environment:
8375
- MINIO_ROOT_USER=minio
8476
- MINIO_ROOT_PASSWORD=ClickHouse_Minio_P@ssw0rd
85-
- MINIO_API_PORT_NUMBER=9000
86-
- MINIO_CONSOLE_PORT_NUMBER=9001
8777
- MINIO_SCHEME=http
8878
- MINIO_DEFAULT_BUCKETS=warehouse-rest
89-
networks:
79+
networks:
9080
default:
9181
aliases:
9282
- warehouse-rest.minio
93-
ports:
94-
- "9002:9000"
95-
- "9003:9001"
96-
healthcheck:
97-
test: ["CMD", "mc", "ls", "local", "|", "grep", "warehouse-rest"]
98-
interval: 2s
99-
timeout: 10s
100-
retries: 3
101-
start_period: 15s
102-
103-
83+
command: ["server", "/data", "--console-address", ":9001"]
10484

85+
mc:
86+
depends_on:
87+
- minio
88+
image: minio/mc:RELEASE.2025-04-16T18-13-26Z
89+
environment:
90+
- AWS_ACCESS_KEY_ID=minio
91+
- AWS_SECRET_ACCESS_KEY=ClickHouse_Minio_P@ssw0rd
92+
- AWS_REGION=us-east-1
93+
restart: "no"
94+
entrypoint: >
95+
/bin/sh -c "
96+
until (/usr/bin/mc config host add minio http://minio:9000 minio ClickHouse_Minio_P@ssw0rd) do echo '...waiting...' && sleep 1; done;
97+
/usr/bin/mc rm -r --force minio/warehouse-rest;
98+
/usr/bin/mc mb minio/warehouse-rest --ignore-existing;
99+
/usr/bin/mc policy set public minio/warehouse-rest;
100+
" # FIX 3: Removed 'tail -f /dev/null' to make this a one-shot setup task.

tests/integration/compose/docker_compose_ldap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
openldap:
3-
image: bitnami/openldap:2.6.8
3+
image: bitnamilegacy/openldap:2.6.8
44
stop_grace_period: 5s
55
restart: always
66
environment:

0 commit comments

Comments
 (0)