Default pipelines
Each infrastructure gets a pipeline as soon as its CI/CD is ready:
When you create an application, you choose which pipelines it uses. A pipeline does nothing for an application until it’s linked to it.
Triggers
Branch patterns are globs:
main, release/*, feature-*. A * doesn’t match across a /, except that a pattern of just * matches every branch.
Steps
Each step has:
Write a pipeline in YAML
The pipeline editor has a YAML view, and you can export any pipeline as YAML:pipeline.yaml
DEPLOY_WEBHOOK_URL is one of the service’s own secrets, which every pre_deploy and post_deploy step can read.
Unknown keys are rejected, so a typo is caught when you save.
Pipeline variables
{{MIGRATE_CMD}} above comes from pipeline_variables in the application’s inframan.yaml:
inframan.yaml
pre_deploy and post_deploy commands. A {{NAME}} with no matching variable is left as it is.
Manage pipelines
- Create and edit: open the infrastructure and click Pipelines. Set the Pipeline name, the Event (Push, Pull Request or PR Merged) and the Branch pattern, then add steps around the fixed Clone Repository, Build & Push Image and Deploy to Cluster stages.
- See an application’s pipelines: open the application and select Pipelines. Click Detach to stop a pipeline releasing that application.
Skip a release
Put[skip inframan], [inframan skip], [skip ci] or [ci skip] in a commit message, and that push doesn’t release.
Watch a release
Every release has a page with each stage and step, its status, duration and logs. It updates live while the release runs. Open it from the application’s Deployments tab, or from theinframan/<service> status check on the commit in GitHub.