You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2020/04/15 12:14:18 UTC

[arrow] branch master updated: ARROW-8469: [Dev] Fix nightly docker tests on azure

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b1d1c76  ARROW-8469: [Dev] Fix nightly docker tests on azure
b1d1c76 is described below

commit b1d1c7617c7bfe93ebe5875c309e132fd58fd543
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Wed Apr 15 14:13:57 2020 +0200

    ARROW-8469: [Dev] Fix nightly docker tests on azure
    
    Closes #6945 from kszucs/azure-fix
    
    Authored-by: Krisztián Szűcs <sz...@gmail.com>
    Signed-off-by: Krisztián Szűcs <sz...@gmail.com>
---
 dev/tasks/docker-tests/azure.linux.yml | 40 ++++++++++++++++------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

diff --git a/dev/tasks/docker-tests/azure.linux.yml b/dev/tasks/docker-tests/azure.linux.yml
index 45d6ecb..6df166d 100644
--- a/dev/tasks/docker-tests/azure.linux.yml
+++ b/dev/tasks/docker-tests/azure.linux.yml
@@ -36,29 +36,27 @@ jobs:
     displayName: Clone arrow
 
   - script: |
-      pushd arrow
-      {% if env is defined %}
-      {%- for key, value in env.items() %}
-        export {{ key }}={{ value }}
-      {%- endfor %}
-      {% endif %}
+    {% if env is defined %}
+    {%- for key, value in env.items() %}
+      export {{ key }}={{ value }}
+    {%- endfor %}
+    {% endif %}
 
-      {% if build is defined %}
-      {%- for image in build %}
-        docker-compose pull --ignore-pull-failures {{ image }}
-        docker-compose build {{ image }}
-      {%- endfor %}
-      {% endif %}
+    {% if build is defined %}
+    {%- for image in build %}
+      docker-compose pull --ignore-pull-failures {{ image }}
+      docker-compose build {{ image }}
+    {%- endfor %}
+    {% endif %}
 
-      {% if nocache is defined %}
-      {%- for image in nocache %}
-        docker-compose build --no-cache {{ image }}
-      {%- endfor %}
-      {% endif %}
+    {% if nocache is defined %}
+    {%- for image in nocache %}
+      docker-compose build --no-cache {{ image }}
+    {%- endfor %}
+    {% endif %}
 
-      {%- for image in run %}
-        docker-compose run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION="{{ arrow.no_rc_version }}" {{ image }}
-      {%- endfor %}
-      popd
+    {%- for image in run %}
+      docker-compose run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION="{{ arrow.no_rc_version }}" {{ image }}
+    {%- endfor %}
     workingDirectory: arrow
     displayName: Run docker test