mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-28 15:30:07 -05:00
* 2.4.0-dev-0 * deploy 2.4.0-dev-1 * slightly optimize stack read path * Add IMAGE_NAME and IMAGE_TAG default build args in addition to VERSION * deploy 2.4.0-dev-2 * ui use || location.origin for base url * move to build time versioning * simplify run action with komodo managed version * procedure batch executions use tag filters * set advanced code splitting options * improve network module logic / edge cases * fix startup ordering - apply legacy db fixes before other tasks * lengthen periphery command timeouts * update deps * clients still have explicit versions * Add page breadcrumbs * mogh ui 1.2.6 * fix set version – set only specific path * cargo fmt * use mogh ui ListPagination * bump deps, rust 1.98.0 * missing dockerfile rust 1.98.0 bump
Komodo
A system to build and deploy software across many servers. https://komo.do
Docs: https://docs.rs/komodo_client/latest/komodo_client.
This is a client library for the Komodo Core API. It contains:
- Definitions for the application api and entities.
- A client to interact with the Komodo Core API.
- Information on configuring Komodo Core and Periphery.
Client Configuration
The client includes a convenenience method to parse the Komodo API url and credentials from the environment:
KOMODO_ADDRESSKOMODO_API_KEYKOMODO_API_SECRET
Client Example
dotenvy::dotenv().ok();
let client = KomodoClient::new_from_env()?;
// Get all the deployments
let deployments = client.read(ListDeployments::default()).await?;
println!("{deployments:#?}");
let update = client.execute(RunBuild { build: "test-build".to_string() }).await?: