Skip to content

Commit d8347c7

Browse files
authored
Fix the minio config (#1419)
## Which issue does this PR close? - Closes #. ## What changes are included in this PR? `mc config` is deprecated minio/mc#5206 Similar to fix in iceberg-python and iceberg-go apache/iceberg-python#2049 apache/iceberg-go#444 This PR also updates the image version of `minio:minio` and `minio:mc` to the latest available tag to pull in the change where `mc config` is deprecated. ## Are these changes tested?
1 parent abe6c93 commit d8347c7

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

crates/catalog/glue/testdata/glue_catalog/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
services:
1919
minio:
20-
image: minio/minio:RELEASE.2024-03-07T00-43-48Z
20+
image: minio/minio:RELEASE.2025-05-24T17-08-30Z
2121
expose:
2222
- 9000
2323
- 9001
@@ -30,13 +30,13 @@ services:
3030
mc:
3131
depends_on:
3232
- minio
33-
image: minio/mc:RELEASE.2024-03-07T00-31-49Z
33+
image: minio/mc:RELEASE.2025-05-21T01-59-54Z
3434
environment:
3535
- AWS_ACCESS_KEY_ID=admin
3636
- AWS_SECRET_ACCESS_KEY=password
3737
- AWS_REGION=us-east-1
3838
entrypoint: >
39-
/bin/sh -c " until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb minio/warehouse; /usr/bin/mc policy set public minio/warehouse; tail -f /dev/null "
39+
/bin/sh -c " until (/usr/bin/mc alias set minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb minio/warehouse; /usr/bin/mc policy set public minio/warehouse; tail -f /dev/null "
4040
4141
moto:
4242
image: motoserver/moto:5.0.3

crates/catalog/hms/testdata/hms_catalog/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
services:
1919
minio:
20-
image: minio/minio:RELEASE.2024-03-07T00-43-48Z
20+
image: minio/minio:RELEASE.2025-05-24T17-08-30Z
2121
expose:
2222
- 9000
2323
- 9001
@@ -30,13 +30,13 @@ services:
3030
mc:
3131
depends_on:
3232
- minio
33-
image: minio/mc:RELEASE.2024-03-07T00-31-49Z
33+
image: minio/mc:RELEASE.2025-05-21T01-59-54Z
3434
environment:
3535
- AWS_ACCESS_KEY_ID=admin
3636
- AWS_SECRET_ACCESS_KEY=password
3737
- AWS_REGION=us-east-1
3838
entrypoint: >
39-
/bin/sh -c " until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb minio/warehouse; /usr/bin/mc policy set public minio/warehouse; tail -f /dev/null "
39+
/bin/sh -c " until (/usr/bin/mc alias set minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb minio/warehouse; /usr/bin/mc policy set public minio/warehouse; tail -f /dev/null "
4040
4141
hive-metastore:
4242
image: iceberg-hive-metastore

crates/catalog/rest/testdata/rest_catalog/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
- 8181
3939

4040
minio:
41-
image: minio/minio:RELEASE.2024-03-07T00-43-48Z
41+
image: minio/minio:RELEASE.2025-05-24T17-08-30Z
4242
environment:
4343
- MINIO_ROOT_USER=admin
4444
- MINIO_ROOT_PASSWORD=password
@@ -54,12 +54,12 @@ services:
5454
mc:
5555
depends_on:
5656
- minio
57-
image: minio/mc:RELEASE.2024-03-07T00-31-49Z
57+
image: minio/mc:RELEASE.2025-05-21T01-59-54Z
5858
environment:
5959
- AWS_ACCESS_KEY_ID=admin
6060
- AWS_SECRET_ACCESS_KEY=password
6161
- AWS_REGION=us-east-1
6262
entrypoint: >
63-
/bin/sh -c " until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc rm -r --force minio/icebergdata; /usr/bin/mc mb minio/icebergdata; /usr/bin/mc policy set public minio/icebergdata; tail -f /dev/null "
63+
/bin/sh -c " until (/usr/bin/mc alias set minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc rm -r --force minio/icebergdata; /usr/bin/mc mb minio/icebergdata; /usr/bin/mc policy set public minio/icebergdata; tail -f /dev/null "
6464
networks:
6565
rest_bridge:

crates/integration_tests/testdata/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
- 8181
4141

4242
minio:
43-
image: minio/minio:RELEASE.2024-03-07T00-43-48Z
43+
image: minio/minio:RELEASE.2025-05-24T17-08-30Z
4444
environment:
4545
- MINIO_ROOT_USER=admin
4646
- MINIO_ROOT_PASSWORD=password
@@ -59,13 +59,13 @@ services:
5959
mc:
6060
depends_on:
6161
- minio
62-
image: minio/mc:RELEASE.2024-03-07T00-31-49Z
62+
image: minio/mc:RELEASE.2025-05-21T01-59-54Z
6363
environment:
6464
- AWS_ACCESS_KEY_ID=admin
6565
- AWS_SECRET_ACCESS_KEY=password
6666
- AWS_REGION=us-east-1
6767
entrypoint: >
68-
/bin/sh -c " until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc rm -r --force minio/icebergdata; /usr/bin/mc mb minio/icebergdata; /usr/bin/mc policy set public minio/icebergdata; tail -f /dev/null "
68+
/bin/sh -c " until (/usr/bin/mc alias set minio http://minio:9000 admin password) do echo '...waiting...' && sleep 1; done; /usr/bin/mc rm -r --force minio/icebergdata; /usr/bin/mc mb minio/icebergdata; /usr/bin/mc policy set public minio/icebergdata; tail -f /dev/null "
6969
networks:
7070
rest_bridge:
7171

0 commit comments

Comments
 (0)