sypho commit
Build and deploy an agent in one step.
Usage
sypho commit [OPTIONS]
Takes the same options as build and
deploy combined:
| Flag | Default | Description |
|---|---|---|
--version <VERSION> | 0.1.0 | Version to build and deploy |
--pull | off | Pull the base image fresh before building |
--name <NAME> | project directory name | Agent name, if no sypho.manifest.json exists yet |
--deployment-type <TYPE> | — | Deployment type to target |
--deployments <LIST> | — | Comma-separated specific deployment names to assign |
Example
cd my-agent
sypho commit --version 0.1.1 --deployments staging
Equivalent to running sypho build --version 0.1.1 followed by
sypho deploy --version 0.1.1 --deployments staging.