Skip to main content

Workflows

A Workflow in Atmosly is a configurable CI/CD pipeline that automates the process of building, testing, and deploying your application services. Workflows operate at the service level — each service within a project can have its own independent workflow.


Pipeline Stages

Every workflow consists of four sequential stages:

StageDescription
SourceFetches source code from a Git repository or references a pre-built image from a container registry.
BuildBuilds a Docker image from the source code using the specified Dockerfile, build context, and platform.
PushPushes the built image to the configured container registry (ECR, DockerHub, GCR, or GAR).
DeployDeploys the image to one or more target environments in your Kubernetes cluster.
info

In deploy-only workflows (CD-only), the Build and Push stages are skipped. The workflow deploys a pre-built image directly from a container registry.


Pipeline Types

Atmosly supports different pipeline types depending on the workload:

TypeDescription
CIContinuous Integration — builds and pushes the container image only.
App CDApplication Continuous Deployment — deploys the application service to target environments.
Cron CDDeploys cron job workloads to target environments.
Queues & Workers CDDeploys queue worker workloads to target environments.

Workflow Statuses

Each workflow execution has a status that reflects its current state:

StatusDescription
PendingThe workflow is queued and waiting to start.
RunningThe workflow is actively executing pipeline stages.
SucceededAll stages completed successfully.
FailedOne or more stages failed during execution.
ErrorAn unexpected error occurred during execution.
Deployment PendingThe CI stages completed and the deployment is waiting to be triggered (manual deploy type).
Approval PendingThe deployment requires approval from designated approvers before proceeding.
Approval RejectedAn approver rejected the deployment.
TerminatingThe workflow is being terminated by a user.
TerminatedThe workflow was successfully terminated.
Termination FailedThe termination request failed — the workflow may still be running.

Key Features

FeatureDescription
Visual Workflow BuilderConfigure pipeline stages through a drag-and-drop visual interface powered by React Flow.
Multi-Environment DeploymentDeploy to multiple environments sequentially (e.g., Dev → Staging → Production) within a single workflow.
Approval GatesRequire designated approvers to approve deployments before they proceed.
Auto-Trigger (Webhooks)Automatically trigger workflows on code push via GitHub, GitLab, or Bitbucket webhooks with branch matching (exact, wildcard).
Security ScanningIntegrate detect-secrets, Trivy vulnerability scanning, and SonarQube code quality checks.
Custom ScriptsRun custom shell scripts at pre-build, post-build, post-push, and post-deploy stages.
Build OptimizationConfigure architecture (AMD64/ARM64), spot instances, build caching, and volume allocation.
CI VariablesManage build-time variables with optional secret manager integration (AWS Secrets Manager, GCP Secret Manager).
Execution AnalyticsView execution history with status breakdowns, charts, and filtering by time period.
Workflow ReportsDownload security and quality reports (Trivy, SonarQube, detect-secrets) per execution.
TerminationTerminate running workflows at any time.

Permissions

To manage workflows, your role must have the appropriate Workflow permissions:

PermissionDescription
View workflowsView workflow configurations and execution history
Add workflowCreate new workflows
Change workflowUpdate workflow configurations and execute workflows
Delete workflowDelete workflows
Add approver to workflowsConfigure approval gates and assign approvers
Approve pipelineApprove or reject deployment approvals