Skip to content

Commit

Permalink
MINOR: [CI][C++][Python] Fix Cuda builds on git main (apache#43789)
Browse files Browse the repository at this point in the history
On the Cuda self-hosted runners, we need to use legacy `docker-compose` on all Archery Docker invocations, including the "image push" step. This is because the Docker client version on those runners is too old to accept the `--file` option to the `compose` subcommand.

This is a followup to apache#43586 . The image push step cannot easily be verified in a PR, hence this second PR.

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
pitrou authored Aug 22, 2024
1 parent d47b305 commit 82ecf3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/tasks/docker-tests/github.cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
runs-on: ['self-hosted', 'cuda']
{{ macros.github_set_env(env) }}
timeout-minutes: {{ timeout|default(60) }}
env:
ARCHERY_USE_LEGACY_DOCKER_COMPOSE: 1
steps:
{{ macros.github_checkout_arrow(fetch_depth=fetch_depth|default(1))|indent }}
# python 3.8 is installed on the runner, no need to install
Expand All @@ -34,7 +36,6 @@ jobs:
- name: Execute Docker Build
shell: bash
env:
ARCHERY_USE_LEGACY_DOCKER_COMPOSE: 1
{{ macros.github_set_sccache_envvars()|indent(8) }}
run: |
archery docker run \
Expand Down

0 comments on commit 82ecf3e

Please sign in to comment.