potiuk opened a new issue #20946:
URL: https://github.com/apache/airflow/issues/20946


   We have just merged the #20664 change that heavily simplified the way how 
our images are build and cached. We did not have any task implemented so far to 
cover those caching (I worked on this simplification in parallel)  so the 
changes should affect Breeze2 only very slightly.
   
   The nice thing is that we have 700 (!) less lines of `bash` by just this 
change so the Breeze/CI Python rewrite project suddenly became way simpler :).
   
   Those are the changes that I think affect current breeze2 work and should be 
implemented:
   
   * no `--force-pull` flag - the caching mechanism of buildkit is so good that 
we do not have to force pull image any more
   * no `-check-if-base-python-image-updated` flag - we do not keep base python 
image any more in our registry and we do not need to refresh the base image. 
Base image will be refreshed automatically as we also warn the users that they 
should always rebase to latest branch HEAD to rebuild the image
   * no `push-image` command - we do not need to push images any more. instead 
we have `prepare-build-cache` command which builds images locally and pushes 
cache for them.
   * no more complex "check if image needs pull" logic is needed any more.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to