Skip to content

Commit

Permalink
Re-add --force-build flag (#24061)
Browse files Browse the repository at this point in the history
After #24052 we also need to add --force-build flag as for
Python 3.7 rebuilding CI cache would have been silently ignored as
no image building would be needed
  • Loading branch information
potiuk committed May 31, 2022
1 parent 60eb9e1 commit 5005ff2
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 69 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
run: >
breeze build-image
--prepare-buildx-cache
--force-build
--platform ${{ matrix.platform }}
env:
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
Expand Down
2 changes: 2 additions & 0 deletions dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
option_docker_cache,
option_dry_run,
option_empty_image,
option_force_build,
option_github_repository,
option_github_token,
option_github_username,
Expand Down Expand Up @@ -216,6 +217,7 @@
@option_additional_runtime_apt_command
@option_dev_apt_command
@option_dev_apt_deps
@option_force_build
@option_runtime_apt_command
@option_runtime_apt_deps
@option_airflow_constraints_mode_ci
Expand Down
1 change: 1 addition & 0 deletions dev/refresh_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ breeze self-upgrade --force
breeze build-image \
--build-multiple-images \
--prepare-buildx-cache \
--force-build \
--platform linux/amd64,linux/arm64 \
--verbose

Expand Down

0 comments on commit 5005ff2

Please sign in to comment.