Skip to content

Commit 719c32e

Browse files
authored
GH-47806: [CI] Rename deprecated docker-compose.yml to preferred compose.yaml file (#47954)
### Rationale for this change Docker Compose recommends `compose.yaml`: https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file > The default path for a Compose file is compose.yaml (preferred) or compose.yml that is placed in the working directory. Compose also supports docker-compose.yaml and docker-compose.yml for backwards compatibility of earlier versions. If both files exist, Compose prefers the canonical compose.yaml. ### What changes are included in this PR? - Update several `docker-compose.yml` file names to `compose.yaml` - Update doc and comment references - Update archery references to the file - Update workflows and CODEOWNERS to take new file into account. ### Are these changes tested? Yes via CI and some archery jobs. ### Are there any user-facing changes? No * GitHub Issue: #47806 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 08b3cc9 commit 719c32e

File tree

23 files changed

+41
-41
lines changed

23 files changed

+41
-41
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# under the License.
1717

1818
# All of the following environment variables are required to set default values
19-
# for the parameters in docker-compose.yml.
19+
# for the parameters in compose.yaml.
2020

21-
# empty prefix means that the docker-compose configuration will use named
21+
# empty prefix means that the docker compose configuration will use named
2222
# volumes which potentially improves the performance on docker for macos and
2323
# docker for windows, it also prevents the contamination of the source
2424
# directory
@@ -93,7 +93,7 @@ ARROW_R_DEV=TRUE
9393
R_PRUNE_DEPS=FALSE
9494
TZ=UTC
9595

96-
# Used through docker-compose.yml and serves as the default version for the
96+
# Used through compose.yaml and serves as the default version for the
9797
# ci/scripts/install_vcpkg.sh script. Prefer to use short SHAs to keep the
9898
# docker tags more readable.
9999
VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Release

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ appveyor.yml @assignUser @kou @raulcd
6060
/dev/ @assignUser @jonkeane @kou @raulcd
6161
.dockerignore @raulcd
6262
.env @assignUser @jonkeane @kou @raulcd
63-
docker-compose.yml @assignUser @jonkeane @kou @raulcd
63+
compose.yaml @assignUser @jonkeane @kou @raulcd
6464

6565
# R specific packaging tooling
6666
/r/configure* @assignUser

.github/workflows/archery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ on:
2929
- '.github/workflows/archery.yml'
3030
- 'dev/archery/**'
3131
- 'dev/tasks/**'
32-
- 'docker-compose.yml'
32+
- 'compose.yaml'
3333
pull_request:
3434
paths:
3535
- '.dockerignore'
3636
- '.github/workflows/archery.yml'
3737
- 'dev/archery/**'
3838
- 'dev/tasks/**'
39-
- 'docker-compose.yml'
39+
- 'compose.yaml'
4040

4141
env:
4242
ARCHERY_DEBUG: 1

.github/workflows/cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
- 'ci/scripts/msys2_*'
3838
- 'ci/scripts/util_*'
3939
- 'cpp/**'
40-
- 'docker-compose.yml'
40+
- 'compose.yaml'
4141
- 'format/Flight.proto'
4242
- 'testing'
4343
pull_request:
@@ -54,7 +54,7 @@ on:
5454
- 'ci/scripts/msys2_*'
5555
- 'ci/scripts/util_*'
5656
- 'cpp/**'
57-
- 'docker-compose.yml'
57+
- 'compose.yaml'
5858
- 'format/Flight.proto'
5959
- 'testing'
6060

.github/workflows/cpp_extra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
- 'ci/scripts/msys2_*'
3838
- 'ci/scripts/util_*'
3939
- 'cpp/**'
40-
- 'docker-compose.yml'
40+
- 'compose.yaml'
4141
- 'format/Flight.proto'
4242
- 'testing'
4343
tags:
@@ -58,7 +58,7 @@ on:
5858
- 'ci/scripts/msys2_*'
5959
- 'ci/scripts/util_*'
6060
- 'cpp/**'
61-
- 'docker-compose.yml'
61+
- 'compose.yaml'
6262
- 'format/Flight.proto'
6363
- 'testing'
6464
types:

.github/workflows/docs_light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
- 'ci/docker/conda-python.dockerfile'
2929
- 'ci/scripts/cpp_build.sh'
3030
- 'ci/scripts/python_build.sh'
31-
- 'docker-compose.yml'
31+
- 'compose.yaml'
3232

3333
permissions:
3434
contents: read

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
- '.github/workflows/integration.yml'
3030
- 'ci/**'
3131
- 'dev/archery/**'
32-
- 'docker-compose.yml'
32+
- 'compose.yaml'
3333
- 'integration/**'
3434
- 'cpp/**'
3535
- 'format/**'
@@ -39,7 +39,7 @@ on:
3939
- '.github/workflows/integration.yml'
4040
- 'ci/**'
4141
- 'dev/archery/**'
42-
- 'docker-compose.yml'
42+
- 'compose.yaml'
4343
- 'integration/**'
4444
- 'cpp/**'
4545
- 'format/**'

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ on:
2929
- '.github/workflows/python.yml'
3030
- 'ci/**'
3131
- 'cpp/**'
32-
- 'docker-compose.yml'
32+
- 'compose.yaml'
3333
- 'python/**'
3434
pull_request:
3535
paths:
3636
- '.dockerignore'
3737
- '.github/workflows/python.yml'
3838
- 'ci/**'
3939
- 'cpp/**'
40-
- 'docker-compose.yml'
40+
- 'compose.yaml'
4141
- 'python/**'
4242

4343
concurrency:

.github/workflows/r.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- "ci/scripts/install_minio.sh"
3535
- "ci/scripts/r_*.sh"
3636
- "cpp/**"
37-
- "docker-compose.yml"
37+
- "compose.yaml"
3838
- "r/**"
3939
pull_request:
4040
paths:
@@ -47,7 +47,7 @@ on:
4747
- "ci/scripts/install_minio.sh"
4848
- "ci/scripts/r_*.sh"
4949
- "cpp/**"
50-
- "docker-compose.yml"
50+
- "compose.yaml"
5151
- "r/**"
5252

5353
concurrency:

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ on:
3636
- 'ci/scripts/util_*'
3737
- 'c_glib/**'
3838
- 'cpp/**'
39-
- 'docker-compose.yml'
39+
- 'compose.yaml'
4040
- 'ruby/**'
4141
pull_request:
4242
paths:
@@ -51,7 +51,7 @@ on:
5151
- 'ci/scripts/util_*'
5252
- 'c_glib/**'
5353
- 'cpp/**'
54-
- 'docker-compose.yml'
54+
- 'compose.yaml'
5555
- 'ruby/**'
5656

5757
concurrency:

0 commit comments

Comments
 (0)