4 releases (stable)

new 1.14.2 Sep 11, 2024
1.14.1 Sep 10, 2024
1.14.0 Sep 7, 2024
1.14.0-res Sep 1, 2024

#246 in Build Utils

Download history 394/week @ 2024-09-01 281/week @ 2024-09-08

675 downloads per month
Used in komodo_cli

GPL-3.0-or-later

450KB
11K SLoC

Komodo

A system to build and deploy software accross many servers

Docs: https://docs.rs/komodo_client/latest/komodo_client


lib.rs:

Komodo

A system to build and deploy software accross many servers

This is a client library for the Komodo Core API. It contains:

  • Definitions for the application [api] and [entities].
  • A [client][KomodoClient] 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_ADDRESS
  • KOMODO_API_KEY
  • KOMODO_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?:

Dependencies

~14–26MB
~414K SLoC