BuildDeployManager (scdeploy) builds and deploys applications on Ubuntu. Each project's YAML defines the source, build, services, and readiness checks.
Run these commands on Ubuntu 24.04 LTS with Python 3.12+ from a trusted checkout.
sudo apt-get update
sudo apt-get install python3 python3-venv python3-pip sudo util-linux
sudo bash scripts/install.sh
sudo -u scdeploy scdeploy doctor --json
Install the build tools required by the application. Copy and adapt a YAML example to /etc/scdeploy/projects/PROJECT.yaml. Prepare the application directories, systemd unit, and permissions to control that unit. Enable scdeploy-check.timer separately after reviewing the update policies.
The manager compares the upstream branch commit with the installed commit. When it changes, the manager builds and tests a clean checkout of the pinned commit as scdeploy-build. During deployment, it switches current atomically, starts the service, and checks readiness. SQLite records history and recovery data. A failed readiness check can trigger a configured rollback.
Replace PROJECT with the profile name and review the plan with the commands below. To deploy, set observe_only: false and run scdeploy deploy PROJECT --approve as scdeploy. Use history to review operations, rollback to restore the previous release, and recover after an interrupted operation.
sudo -u scdeploy scdeploy validate PROJECT
sudo -u scdeploy scdeploy deploy PROJECT --dry-run --json