Skip to content

Commit

Permalink
apacheGH-41119: [Archery][Packaging][CI] Avoid using ARCHERY_DEBUG=1 …
Browse files Browse the repository at this point in the history
…on Windows wheels as --progress flag is not supported on Docker on Windows
  • Loading branch information
raulcd committed Apr 10, 2024
1 parent 376a271 commit 82d4ade
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ VCPKG="a42af01b72c28a8e1d7b48107b33e4f286a55ef6" # 2023.11.20 Release
# ci/docker/python-wheel-windows-vs2019.dockerfile.
# This is a workaround for our CI problem that "archery docker build" doesn't
# use pulled built images in dev/tasks/python-wheels/github.windows.yml.
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-03-19
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2024-04-10

# Use conanio/${CONAN} for "docker-compose run --rm conan". See
# https://github.com/conan-io/conan-docker-tools#readme for available
Expand Down
4 changes: 3 additions & 1 deletion dev/tasks/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

{%- macro github_header() -%}
{%- macro github_header(archery_debug=True) -%}
# NOTE: must set "Crossbow" as name to have the badge links working in the
# github comment reports!
name: Crossbow
Expand All @@ -25,7 +25,9 @@ on:
- "*-github-*"

env:
{% if archery_debug %}
ARCHERY_DEBUG: 1
{% endif %}
ARCHERY_USE_DOCKER_CLI: 1
{% endmacro %}

Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/github.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

{% import 'macros.jinja' as macros with context %}

{{ macros.github_header() }}
{{ macros.github_header(archery_debug=False) }}

jobs:
build:
Expand Down

0 comments on commit 82d4ade

Please sign in to comment.