Eve Pipelines and Workflows
Use these patterns to automate build and deploy actions and invoke workflow jobs.
Pipelines (v2 steps)
Define pipelines under
pipelines
in
.eve/manifest.yaml
.
Steps can be
action
,
script
, or
agent
.
Use
depends_on
to control ordering.
Built-in actions include
build
,
release
,
deploy
,
run
,
job
,
create-pr
.
Run manually:
eve pipeline list
eve pipeline show
Creates BuildSpec + BuildRun, outputs build_id + image_digests
- name : release depends_on : [ build ] action : type : release
References build_id, derives digests from BuildArtifacts
- name : deploy depends_on : [ release ] action : type : deploy env_name : staging
Uses digest-based image refs for immutable deploys
Promotion workflow Build once in test, then promote the same build artifacts to staging/production: The build step creates a BuildRun with artifacts (image digests) Releases carry the build_id forward, ensuring identical images across environments This pattern guarantees you deploy exactly what you tested Track pipeline execution: eve job list --phase active eve job follow < job-id
eve job result < job-id
Pipeline Logs & Streaming Monitor pipeline runs in real time:
Snapshot logs for a run
eve pipeline logs < pipeline
< run-id
Real-time SSE streaming
eve pipeline logs < pipeline
< run-id
--follow
Stream specific step
eve pipeline logs < pipeline
< run-id
--follow --step < name
Failed steps include failure hints and link to build diagnostics when applicable. Environment Deploy as Pipeline Alias When an environment has a pipeline configured in the manifest, eve env deploy
--ref automatically triggers that pipeline instead of doing a direct deploy. Basic usage
Triggers the configured pipeline for test environment
eve env deploy test --ref 0123456789abcdef0123456789abcdef01234567
Pass inputs to the pipeline
eve env deploy staging --ref 0123456789abcdef0123456789abcdef01234567 --inputs '{"release_id":"rel_xxx"}'
Bypass pipeline and do direct deploy
eve env deploy staging --ref 0123456789abcdef0123456789abcdef01234567 --direct Promotion flow example
1. Build and deploy to test environment
eve env deploy test --ref 0123456789abcdef0123456789abcdef01234567
2. Get release info from the test build
eve release resolve v1.2.3
Output: rel_xxx
3. Promote to staging using the release_id
eve
env
deploy staging
--ref
0123456789abcdef0123456789abcdef01234567
--inputs
'{"release_id":"rel_xxx"}'
Key behaviors
If
environments.