nuon apps sync to app branches and install groups.
Shortcut: Ask Nuon to enable the feature flag, then run nuon apps sync. The CLI walks you through the migration.
What’s changing
Previously, runningnuon apps sync validated, synced, and built your app template directly from the Nuon CLI.
With App Branches, Nuon directly fetches your app template Git repository and syncs it to the Nuon control plane. This unlocks features like automated previews and install rollouts.
Migration Steps
Step 1: Create Your App Branch
- Add a
branch.tomlto your app template. - Sync it to the Nuon control plane with
nuon branches sync.
branch.toml examples and how to write one, see the App Branches docs.
Step 2: Automations and Triggers
Nuon automatically starts the first branch run on sync, which pulls the app template and builds the sandbox and components. Confirm that run succeeds. You can now trigger updates to your installs using:- Git pushes
- Git tags
- Pull Request (PR) labels
- Manual runs
Step 3: Create Install Groups
Install rollouts were previously managed on an install-by-install basis using the Nuon CLI or dashboard. With App Branches, installs are categorized into Install Groups which are vendor-defined ways to rollout upgrades to similar installs.- Add labels to your installs or install configs so they join an install group on the app branch.
- Push to the app branch’s tracked git branch to roll the update out to those installs.
Step 4: Setup Previews
Validate changes on your app template’s git branch before merging them into the branch your app is configured to use. When you open a pull request or create a feature branch, you can preview changes in three distinct modes:- Validate and Build: Validates your config and builds your components.
- Plan Only: Previews deploys and updates against a single test install without applying changes.
- Apply: Runs and executes changes on a single test install.
Next Steps & Advanced Setup
Now that your base migration is complete, expand your setup with these advanced features:- Set up GitHub Actions for Branch Syncing
- Automate deployment group rollouts with git pushes, tags, or PR labels
- Set up pull request previews that comment and set checks on your PRs