diff --git a/doc/_static/phases.png b/doc/_static/phases.png
index f0564b1a..e7cc2b16 100644
Binary files a/doc/_static/phases.png and b/doc/_static/phases.png differ
diff --git a/doc/_static/phases.svg b/doc/_static/phases.svg
index 013f4f40..23ddefcd 100644
--- a/doc/_static/phases.svg
+++ b/doc/_static/phases.svg
@@ -7,58 +7,58 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- inkscape:export-ydpi="90"
- inkscape:export-xdpi="90"
- inkscape:export-filename="/home/lsedlar/repos/pungi/doc/_static/phases.png"
- sodipodi:docname="phases.svg"
- inkscape:version="0.92.2 5c3e80d, 2017-08-06"
- version="1.1"
- id="svg2"
- viewBox="0 0 669.66458 255.18195"
+ width="669.66455"
height="255.18195"
- width="669.66455">
+ viewBox="0 0 669.66458 255.18195"
+ id="svg2"
+ version="1.1"
+ inkscape:version="1.0 (4035a4f, 2020-05-01)"
+ sodipodi:docname="phases.svg"
+ inkscape:export-filename="/home/lsedlar/repos/pungi/doc/_static/phases.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.5"
+ inkscape:cx="420.82921"
+ inkscape:cy="127.3243"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1920"
+ inkscape:window-height="1035"
+ inkscape:window-x="0"
+ inkscape:window-y="23"
+ inkscape:window-maximized="1"
+ units="px"
+ inkscape:document-rotation="0"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+ id="Arrow1Lend"
+ refX="0"
+ refY="0"
+ orient="auto"
+ inkscape:stockid="Arrow1Lend">
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+ d="M 0,0 5,-5 -12.5,0 5,5 Z"
+ id="path4451" />
image/svg+xml
-
+
+ inkscape:groupmode="layer"
+ inkscape:label="Vrstva 1">
+ transform="translate(98.243246,-80.817124)"
+ id="g3411">
+ width="26.295755"
+ height="49.214859"
+ x="953.49097"
+ y="49.250374"
+ transform="matrix(0,1,1,0,0,0)" />
Pkgset
-
-
-
- ImageChecksum
+ id="tspan3362"
+ x="51.554729"
+ y="970.26605"
+ style="font-size:13.1479px;line-height:1.25">Pkgset
+ transform="translate(58.253953,-80.817124)"
+ id="g3398">
+ height="46.01757"
+ width="26.295755"
+ id="rect3400"
+ style="fill:#3465a4;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ transform="matrix(0,1,1,0,0,0)" />
Test
+ x="557.61566"
+ y="971.33813"
+ style="font-size:13.1479px;line-height:1.25">Test
+ id="g3720"
+ transform="translate(97.49995,-0.34404039)">
+ width="26.295755"
+ height="39.669899"
+ x="873.01788"
+ y="2.3186533"
+ transform="matrix(0,1,1,0,0,0)" />
Init
+ x="6.2600794"
+ y="891.1604"
+ style="font-size:13.1479px;line-height:1.25">Init
+ d="M 100.90864,859.8891 H 654.22706"
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.17466855px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)" />
+ transform="translate(26.249988)"
+ id="g262">
+ id="g234">
+ style="fill:#fcaf3e;fill-rule:evenodd;stroke:none;stroke-width:0.838448px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
Buildinstall
+ sodipodi:role="line">Buildinstall
+ id="g3639"
+ transform="translate(75.925692,-0.34404039)">
+ x="905.2099"
+ height="54.197887"
+ width="26.295755"
+ id="rect3344"
+ style="fill:#729fcf;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
Gather
+ x="106.1384"
+ id="tspan3370"
+ sodipodi:role="line">Gather
+ transform="translate(15.925722,63.405928)"
+ id="g3647">
+ width="26.295755"
+ height="72.729973"
+ x="905.2099"
+ y="162.92607"
+ transform="matrix(0,1,1,0,0,0)" />
ExtraFiles
-
-
-
- Createrepo
+ xml:space="preserve">ExtraFiles
+ transform="translate(-2.824268,-0.34404039)"
+ id="g3658">
+ id="rect3348"
+ style="fill:#e9b96e;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
OSTree
+ id="text3376"
+ y="921.86945"
+ x="243.95874"
+ style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve">Createrepo
+ id="g3408"
+ transform="translate(-74.638308,113.77258)">
+
+ OSTree
+
+
+ transform="translate(0.56706579)"
+ id="g3653">
+ width="26.295755"
+ height="101.85102"
+ x="1022.637"
+ y="490.33765"
+ transform="matrix(0,1,1,0,0,0)" />
OSTreeInstaller
+ x="492.642"
+ y="1039.4121"
+ style="font-size:12px;line-height:0">OSTreeInstaller
+ transform="translate(-41.24998)"
+ id="g300">
-
- Createiso
-
-
-
- LiveImages
-
-
-
- ImageBuild
-
-
+ id="g162">
+ style="fill:#e9b96e;fill-rule:evenodd;stroke:none;stroke-width:2.42332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ id="rect3338-1"
+ width="154.42072"
+ height="115.80065"
+ x="872.67383"
+ y="527.8056" />
LiveMedia
-
-
-
- OSBS
+ x="530.66211"
+ y="950.72327">ImageChecksum
+ transform="translate(-0.959604,-80.817124)"
+ id="g3458">
+ Createiso
+
+
+
LiveImages
+
+
+
+ ImageBuild
+
+
+
+ LiveMedia
+
+
+
+ OSBS
+
+
+
+ ExtraIsos
+ y="1069.0087"
+ id="tspan3812">ExtraIsos
-
-
+
+
+ Repoclosure
-
-
+ style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ xml:space="preserve">Repoclosure
+
+ height="224.24059"
+ width="26.295755"
+ id="rect87"
+ style="fill:#5ed4ec;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.48006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ transform="matrix(0,1,1,0,0,0)" />
Repoclosure
+ id="tspan89"
+ x="421.51923"
+ y="1084.9105">Repoclosure
diff --git a/pungi/scripts/pungi_koji.py b/pungi/scripts/pungi_koji.py
index 253b2c49..1fab656c 100644
--- a/pungi/scripts/pungi_koji.py
+++ b/pungi/scripts/pungi_koji.py
@@ -460,22 +460,24 @@ def run_compose(
timestamp = pungi.metadata.write_discinfo(compose, arch, variant)
pungi.metadata.write_media_repo(compose, arch, variant, timestamp)
- # Start all phases for image artifacts
+ # Run phases for image artifacts in parallel
compose_images_schema = (
createiso_phase,
extra_isos_phase,
liveimages_phase,
image_build_phase,
livemedia_phase,
+ )
+ compose_images_phase = pungi.phases.WeaverPhase(compose, compose_images_schema)
+ extra_phase_schema = (
+ (compose_images_phase, image_checksum_phase),
osbs_phase,
repoclosure_phase,
)
- compose_images_phase = pungi.phases.WeaverPhase(compose, compose_images_schema)
- compose_images_phase.start()
- compose_images_phase.stop()
+ extra_phase = pungi.phases.WeaverPhase(compose, extra_phase_schema)
- image_checksum_phase.start()
- image_checksum_phase.stop()
+ extra_phase.start()
+ extra_phase.stop()
pungi.metadata.write_compose_info(compose)
if not (