App Deployment History and Rollback

Who this is for

Users who want to review past deployments for an app, understand what changed, or roll back to a previous working version.


How to View Deployment History

  1. Open the app detail.
  2. Click the Deployments tab.
  3. The last 50 deployments are shown in reverse chronological order.

Each deployment entry shows:

  • Date and time of the deployment
  • Commit SHA (for git-source apps) or image tag (for container apps)
  • Triggered by (user or webhook)
  • Status (succeeded / failed)

How to Roll Back a Container App

For apps deployed from a Docker image (source: docker):

  1. In the Deployments tab, find the deployment you want to roll back to.
  2. Click Rollback to this version.
  3. Confirm.

CloudAIPilot re-runs the deploy with the image tag from that deployment. The audit log records this as app.deploy.rollback.

Alternatively, use the commit picker to manually specify an image tag:

  • Click DeployAdvanced OptionsImage tag → enter the tag.

Note: Compose apps do not support rollback by image tag. Roll back compose apps by redeploying from a previous git commit or reverting your docker-compose.yml in git.


How to Roll Back a Git-Source App

For apps built from git (source: git):

  1. In the Deployments tab, find the commit SHA you want to roll back to.
  2. Click Rollback to this version (or copy the SHA).
  3. If using the button: CloudAIPilot re-deploys with gitRef set to that commit.
  4. If using the commit picker: click DeployAdvanced Options → enter the SHA in Git ref.

Re-running a Failed Deployment

If a deployment failed partway through:

  1. Find it in the Deployments tab.
  2. Click Retry to re-trigger the same configuration.

What Success Looks Like

The rollback deploy completes. The app's commitSha or imageRef updates to the rolled-back version. The Activity Center shows the deploy as completed.


Common Issues and Fixes

IssueLikely causeFix
Rollback button missingCompose app (not supported)For compose: revert in git and redeploy, or update compose YAML.
Rollback fails — "image not found"Old image was removed from registryRe-tag and push the old image, then retry.
Git rollback fails — commit not foundCommit was garbage-collected from the remoteUse a tag instead of a raw SHA.

Related Articles