This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 82ecf3e6ed MINOR: [CI][C++][Python] Fix Cuda builds on git main 
(#43789)
82ecf3e6ed is described below

commit 82ecf3e6ed8cb58a08d600041617ce85c9bdb7c1
Author: Antoine Pitrou <[email protected]>
AuthorDate: Thu Aug 22 22:57:14 2024 +0200

    MINOR: [CI][C++][Python] Fix Cuda builds on git main (#43789)
    
    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 https://github.com/apache/arrow/pull/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]>
---
 dev/tasks/docker-tests/github.cuda.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/tasks/docker-tests/github.cuda.yml 
b/dev/tasks/docker-tests/github.cuda.yml
index 9c7adf53a6..8c04da8a91 100644
--- a/dev/tasks/docker-tests/github.cuda.yml
+++ b/dev/tasks/docker-tests/github.cuda.yml
@@ -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
@@ -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 \

Reply via email to