.yaml, .yml, .json, .jsonc, or .cue. The config file describes steps, parallel and group blocks, inputs, variants, and triggers. One file describes one workflow — services that build and deploy independently of each other get their own pipeline and config file each, not parallel groups in a shared one. See One workflow per pipeline.
Example pipeline config
Example pipeline config
A minimal pipeline that builds and deploys the
web-app module from the example ravion.yaml. The build and deploy steps reference the module by given ID with environmentGivenId.moduleGivenId. Here the production variant ID matches the environment given ID, so << pipeline.variant.id >>.web-app resolves to production.web-app.The step input keys come from the module definition: the rvn-ecs-web build accepts branch and ref, and the deploy accepts image_ref (an image tag or digest, not a full URI). The deploy consumes the build’s image_digest output, so it pins the exact image the build pushed to the module’s ECR repository.ravion-pipeline.yaml
Automatic updates with GitHub
Commit aravion-pipeline.yaml file to a repository connected through the Ravion GitHub App. The app automatically plans changes on pull requests and publishes a new pipeline version when a changed config reaches the default branch. No GitHub Actions workflow is needed.
Keep the top-level pipeline block in the file. It selects an existing pipeline by pipeline.id, or by pipeline.givenId together with pipeline.project (the project’s unique ID or given ID). For the example above, create a pipeline with given ID deploy in the demo project first.
See GitHub integration for all supported filenames and matching rules. A file named pipeline.yaml is not automatically scanned.
To keep fixtures or examples out of automatic plans, applies, and conflict checks, add their paths to a root .ravionignore file.
Pull and apply with the CLI
Store the config file in your repository and manage it with the CLI.1
Create the pipeline, if needed
2
Pull the current config
Write the live pipeline config to a file.
3
Edit the file
Edit the config as needed.
4
Apply the changes
Apply the config. This creates a new Pipeline Version every time.
5
Commit for automatic updates
Commit the config file and let the Ravion GitHub App plan future changes on pull requests and apply them on merge to the default branch.See GitHub integration.
Schema reference
For every field, block, and step type, see the full reference.Pipeline configuration
Steps, blocks, inputs, variants, and triggers.