--- title: CentOS Stream Compose Process --- # CentOS Stream Compose Process This document describes the process of how to run a CentOS Stream compose and sync it to stage. CentOS Stream composes happen on **composer01.rdu2.centos.org** as the **compose** user. They are created using the [pungi](https://pagure.io/pungi) tool with configurations located in */compose/pungi-centos-stream/*. They are stored under the */compose/trees/* directory. Pushing a compose requires syncing it to the staging location */old-compose/staged/8-stream/* with a staging script. Later they are synced from staging to QA. ## Main Distro ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos-stream/c8-stream.conf \ --old-composes /compose/trees \ --target /compose/trees \ --supported \ --nightly ``` ### Stage ``` sudo -u compose /compose/centos8-buildsys-tools-private/stage-stream.sh ``` ### Treeinfo As pungi only generates the treeinfo for BaseOS, we need to add the *treeinfo* of AppStream to the BaseOS treeinfo. ``` /compose/centos8-buildsys-tools-private/fix_treeinfos /old-compose/staged/8-stream/ ``` ## Cloud Images ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos-stream/c8-stream-cloud.conf \ --old-composes /compose/trees \ --target /compose/trees \ --label Update-1.0 ``` ### Stage ? ## Extras ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos-stream/extras.conf \ --old-composes /compose/trees \ --target /compose/trees \ --skip-phase buildinstall \ --skip-phase createiso \ --skip-phase extra_isos \ --skip-phase productimg \ --label Update-1.0 ``` ### Stage ``` sudo -u compose /compose/centos8-buildsys-tools-private/stage-stream-extras.sh ```