Skip to content

Apache DataFusion SQL Query Engine

ARROW-8469: [Dev] Fix nightly docker tests on azure

Krisztián Szűcsb3806b40e9d6
diff --git a/dev/tasks/docker-tests/azure.linux.yml b/dev/tasks/docker-tests/azure.linux.yml
index 45d6ecba97..6df166d852 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