Quick start
This walkthrough uses the repository's example intent, discovered components, and built-in compositions to compile a plan and preview execution.
1. Build the CLI
make build
The commands below assume you are running them from the repository root and using the freshly built ./ciz binary.
2. Inspect the shipped compositions
./ciz compositions --config-dir assets/config/compositions
The built-in composition set currently includes charts, helm, helmCommon, and terraform.
3. Validate the example intent and discovery tree
./ciz validate \
--intent examples/intent.yaml \
--config-dir assets/config/compositions
This loads examples/intent.yaml, scans the discovery roots declared there, and validates each component against its matching composition schema.
4. Inspect the merged component model
./ciz component web-app \
--intent examples/intent.yaml \
--config-dir assets/config/compositions \
--long
Use this view when you want to verify labels, overrides, subscriptions, inputs, and dependency edges before you render the final plan.
5. Compile a deterministic plan
./ciz plan \
--intent examples/intent.yaml \
--config-dir assets/config/compositions \
--output /tmp/ciz-plan.json \
--view dag
The generated file is the execution boundary: a fully expanded DAG with explicit jobs, steps, and dependencies.
6. Preview execution
./ciz run --plan /tmp/ciz-plan.json
run defaults to dry-run mode, which prints the execution order, working directories, runner choice, and resolved steps without mutating state.
7. Execute the plan
./ciz run \
--plan /tmp/ciz-plan.json \
--execute \
--runner local
Swap local for docker when you want containerized execution, or use --gha when your plan includes GitHub Actions use: steps.
What happened
validateloaded the intent, discovered component manifests, and enforced schema constraints.componentshowed the merged component view that feeds the compiler.planexpanded environment and component subscriptions into concrete jobs and dependency edges.runpreviewed or executed the immutable plan artifact.
Next steps
- Read execution model to understand dry-run, retries, phases, and state files.
- Explore GitHub Actions and Docker runtime examples.