tumbi-assembler/pungi/scripts
Adam Williamson 18bda22fcb Don't block main image build phase on ostree_install phase
I did a time map of a Fedora compose today, and noticed that we
spend about an hour waiting for the ostree_install phase to
complete before we start up the compose_images_phase which does
all the other image builds.

This is unnecessary. Nothing else depends on ostree_install; it
should be fine to start up the extra_phase (which contains
compose_images_phase) while the ostree stuff is still running.

This implements that by splitting the ostree phases out of the
essentials_phase which contains the real precursors to the
extra_phase. We start the essentials and ostree phases together,
but only wait for the essentials phase to complete before
kicking off extra_phase, so it can start while the ostree
phase is still running.

One tweak we have to make to accommodate this is to move
image_checksum_phase out of extra_phase, to avoid it potentially
running before all ostree installer images are built. The
checksum phase is quite fast - it takes about five minutes -
and any time benefit of running it in parallel with the osbs and
repoclosure phases seems like it must be smaller than the time
loss of waiting for ostree_install before kicking off extra.

Merges: https://pagure.io/pungi/pull-request/1790
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-15 09:47:43 +02:00
..
__init__.py cleanup: refactor scripts via entry points 2019-12-10 10:53:31 +08:00
cache_cleanup.py Add script for cleaning up the cache 2023-08-23 07:26:56 +00:00
comps_filter.py Filter out environment groups unmatch given arch 2022-02-22 11:33:25 +08:00
config_dump.py Drop pungi-orchestrator code 2023-06-02 06:14:10 +00:00
config_validate.py Remove live_images.py (LiveImagesPhase) 2024-08-05 10:55:08 +00:00
create_unified_isos.py Format code 2021-03-02 18:31:45 +08:00
fedmsg_notification.py Set the priority in the fedora-messaging notifier 2023-05-03 14:20:57 +02:00
patch_iso.py Support change of the patch-iso temp dir 2020-09-15 15:47:16 +02:00
pungi.py Make latest black happy 2024-01-26 09:21:20 +01:00
pungi_gather.py dnf: Load filelists for actual solver too 2024-03-05 13:38:45 +00:00
pungi_koji.py Don't block main image build phase on ostree_install phase 2024-10-15 09:47:43 +02:00
report_progress.py Format code base with black 2020-02-05 17:35:47 +08:00
wait_for_signed_ostree_handler.py Port scripts/wait_for_signed_ostree_handler.py to fedora-messaging 2020-06-17 23:28:27 +02:00