forked from github-starred/komodo
* fix swarm config content hidden * 2.0.1-dev-1 * bump ts deps * align swarm config links * StackServiceRun command is actually optional * fix swarm not included in read resource toml * deploy 2.0.1-dev-2 * logger support disabling timestamps (eg if they are already provided by docker logs) * full opacity tag color selector * Add UpdateSwarmNode execution and convert several large repetive blocks to macro handling * add node update functionality * deploy 2.0.1-dev-3 * deploy 2.1.0-dev-1 * toml variable export sorted by name * deploy 2.1.0-dev-2 * dont use detach=false because it can hang indefinitely on misconfigured stacks * deploy 2.1.0-dev-3 * swarm stack deploy explicitly '--detach=true' to avoid future changes in behavior * fmt * UI: Stack config: Fix Add Env File button * fix swarm error propogation, add server connection error hover message * deploy 2.1.0-dev-4 * fix service rm (should be stack rm * fix container ports not displaying when server address not available for link * fix build registry custom org configuration * github action: comment out cache step (leads to no space on device) * fix missing nullish check when selecting stack (#1287) * fix container selector null crash * provider selector custom input label adheres to showLabel * fix: show/hide button non-functional in stack, sync, and build info views (#1267) Co-authored-by: twalts <t.mwalton@yahoo.com> * swarm stack support env vars through shell source file method * tweaks * bump deps * deploy 2.1.0-dev-5 * auto update should work with swarm * deploy 2.1.0-dev-6 * 2.1.0 --------- Co-authored-by: Shen Li <dustet@gmail.com> Co-authored-by: T <github@mail.taylor.media> Co-authored-by: twalts <t.mwalton@yahoo.com>
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?: