Stages & promotion

Promote dev → uat → prod. Protected stages, audited history.

Stage overview

Every app has three stages: dev, uat, and prod. Deploys always land in dev. Promotion copies the current image and IR graph of the source stage — no rebuild occurs.

bash
1# See all stages and their current status2gworker app list

Promote to UAT

Promote a tested dev build to uat for integration / QA.

bash
1gworker promote my-app --from dev --to uat

Promote to prod

Production promotion requires explicit confirmation. The previous prod build is archived and can be rolled back.

bash
1gworker promote my-app --from uat --to prod --confirm

Roll back

Restore the previous production build instantly without redeploying.

bash
1gworker rollback my-app --env prod

Stop a stage

Stop all workers in a stage without deleting the app. Workers scale back to 0 immediately.

bash
1gworker app stop my-app --env prod