-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix behaviour of build/pull after recent Breeze changes #24657
Fix behaviour of build/pull after recent Breeze changes #24657
Conversation
da30c3c
to
ab4b7e9
Compare
Nees #24659 to succeed. |
196c130
to
39b9be2
Compare
The behaviour of Breeze after some recent changes related to pulling and building images in parallel have been slightly broken. Nothing serious but slightly annoying behaviour: * when starting breeze shell, the image was attempted to be build even if it was not needed (but cache efficiency made it fast enough to not be too annoying (unless we updated to newer python base image * breeze pull command for "latest" branch makes no sense any more - we stopped pushing "latest" image to ghcr.io, we only push cache and "tagged" images. We are now turning --image-tag as required in "pull_image" and when someone specifies latest, error and helpful message is printed * --force-build flag in "shell-related-commands" was not properly propagated to build-image so it did not actually force image building. All those problems are fixed now.
39b9be2
to
90e0d15
Compare
Would be nice to merge this one to get fixed non-rebuild experience |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
The behaviour of Breeze after some recent changes related to pulling and building images in parallel have been slightly broken. Nothing serious but slightly annoying behaviour: * when starting breeze shell, the image was attempted to be build even if it was not needed (but cache efficiency made it fast enough to not be too annoying (unless we updated to newer python base image * breeze pull command for "latest" branch makes no sense any more - we stopped pushing "latest" image to ghcr.io, we only push cache and "tagged" images. We are now turning --image-tag as required in "pull_image" and when someone specifies latest, error and helpful message is printed * --force-build flag in "shell-related-commands" was not properly propagated to build-image so it did not actually force image building. All those problems are fixed now. (cherry picked from commit b678dc2)
The behaviour of Breeze after some recent changes related to
pulling and building images in parallel have been slightly broken.
Nothing serious but slightly annoying behaviour:
when starting breeze shell, the image was attempted to be
build even if it was not needed (but cache efficiency made it fast
enough to not be too annoying (unless we updated to newer
python base image
breeze pull command for "latest" branch makes no sense any more -
we stopped pushing "latest" image to ghcr.io, we only push
cache and "tagged" images. We are now turning --image-tag as
required in "pull_image" and when someone specifies latest,
error and helpful message is printed
--force-build flag in "shell-related-commands" was not
properly propagated to build-image so it did not actually
force image building.
All those problems are fixed now.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragement file, named
{pr_number}.significant.rst
, in newsfragments.