potiuk commented on code in PR #45266:
URL: https://github.com/apache/airflow/pull/45266#discussion_r1899153825


##########
dev/breeze/doc/06_managing_docker_images.rst:
##########
@@ -86,6 +86,41 @@ These are all available flags of ``verify`` command:
   :width: 100%
   :alt: Breeze ci-image verify
 
+Loading and saving CI image
+...........................
+
+You can load and save PROD image - for example to transfer it to another 
machine or to load an image
+that has been built in our CI.
+
+These are all available flags of ``save`` command:
+
+.. image:: ./images/output_ci-image_save.svg
+  :target: 
https://raw.githubusercontent.com/apache/airflow/main/dev/breeze/images/output_ci-image_save.svg
+  :width: 100%
+  :alt: Breeze ci-image save
+
+These are all available flags of ``load`` command:
+
+.. image:: ./images/output_ci-image_load.svg
+  :target: 
https://raw.githubusercontent.com/apache/airflow/main/dev/breeze/images/output_ci-image_load.svg
+  :width: 100%
+  :alt: Breeze ci-image load
+
+Images for every build from our CI are uploaded as artifacts to the
+GitHub Action run (in summary) and can be downloaded from there for 2 days in 
order to reproduce the complete
+environment used during the tests and loaded to the local Docker registry 
(note that you have
+to use the same platform as the CI run).
+
+You will find the artifacts for each image in the summary of the CI run. The 
artifacts are named
+``ci-image-docker-export-<platform>-<python_version>-<PR>_merge``. Those are 
compressed zip files that
+contain the ".tar" image that should be used with ``--image-file`` flag of the 
load method. Make sure to

Review Comment:
   This could be simplified by adding `--job-id` and `--pr` flags to the `load` 
command - but since it can be done manually I separated it out to 
https://github.com/apache/airflow/issues/45269 



-- 
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