--- title: CentOS Linux Compose Process --- # CentOS Linux Compose Process This document describes the process of how to run a CentOS Linux compose and sync it to stage. 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/*. They are stored under the */compose/trees/* directory. Pushing a compose requires syncing it to the staging location */old-compose/staged//* with a staging script. Later they are synced from staging to QA. ## Main Distro (GA) ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos/c8.conf \ --old-composes /compose/trees \ --target /compose/trees \ --skip-phase productimg \ --label RC-1.0 ``` ### Stage ``` sudo -u compose /compose/centos8-buildsys-tools-private/stage-linux-ga.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// ``` ## Main Distro (Updates) ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos/c8-updates.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-linux-updates.sh ``` ## Extras ### Compose ``` sudo -u compose pungi-koji \ --config /compose/pungi-centos/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-linux-extras.sh ```