Skip to content

Commit

Permalink
ARROW-8362: [Crossbow] Ensure that the locally generated version is u…
Browse files Browse the repository at this point in the history
…sed in the docker tasks

Closes #6862 from kszucs/ARROW-8362

Authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
  • Loading branch information
kszucs committed Apr 7, 2020
1 parent b665b47 commit 241e79d
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 303 deletions.
23 changes: 21 additions & 2 deletions dev/tasks/docker-tests/azure.linux.yml
Expand Up @@ -37,8 +37,27 @@ jobs:
- script: |
pushd arrow
{%- for command in commands %}
{{ command }}
{% 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 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
workingDirectory: arrow
Expand Down
23 changes: 21 additions & 2 deletions dev/tasks/docker-tests/circle.linux.yml
Expand Up @@ -36,8 +36,27 @@ jobs:
- run:
command: |
pushd arrow
{%- for command in commands %}
{{ command }}
{% 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 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
no_output_timeout: "1h"
Expand Down
56 changes: 0 additions & 56 deletions dev/tasks/docker-tests/travis.linux.yml

This file was deleted.

0 comments on commit 241e79d

Please sign in to comment.