[
StrictOps
control plane
How It WorksPricingSecurityDocs
Log InGet Started
StrictOps Docs

Deployments

How deployments work in StrictOps

Deployments

A deployment represents a single release of your application to AWS. Each deployment tracks the full lifecycle from code push to running service.

Deployment Lifecycle

Every deployment progresses through these statuses:

StatusDescription
QUEUEDDeployment is waiting to start
RUNNINGDeployment is in progress
SUCCEEDEDDeployment completed successfully
FAILEDDeployment encountered an error

Deployment Steps

Each deployment consists of ordered steps:

  1. Build - GitHub Actions builds your Docker image
  2. Push - Image is pushed to Amazon ECR
  3. Provision - CloudFormation creates/updates infrastructure
  4. Deploy - ECS service is updated with the new image
  5. Verify - Health checks confirm the service is running

If any step fails, the deployment stops and reports the error. You can view which step failed and the error message in the deployment details.

Key Fields

FieldDescription
serviceIdName of the service being deployed (from strictops.yml)
environmentTarget environment (e.g., production, staging)
commitShaGit commit SHA that triggered the deployment
repoFullNameGitHub repository (e.g., owner/repo)
stackIdCloudFormation stack ARN
serviceUrlURL of the deployed service
actionsRunUrlLink to the GitHub Actions run

Archiving Deployments

Old deployments can be archived to keep the deployment list clean. Archived deployments are hidden by default but can be retrieved by setting includeArchived to true when listing deployments.

Retrying Failed Deployments

When a deployment fails, you can retry it from the console. The retry creates a new deployment with the same configuration.

Rollbacks

To roll back to a previous version, use the rollback endpoint with the target CloudFormation template. This reverts the ECS service to an earlier configuration.

API Reference

See the Deployments API in Swagger for endpoint details.

On this page