diff --git a/Cargo.lock b/Cargo.lock index 8055721..3a0fc0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "cuddle-ci" version = "0.2.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#924bcf8c8c09419b49fd816230dfa6bcabb9cc18" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#59748fb6e638411fb1c222c0c8e69fbd2d72d435" dependencies = [ "async-trait", "chrono", @@ -336,17 +336,18 @@ dependencies = [ "dagger-sdk", "eyre", "tokio", + "tracing-subscriber", ] [[package]] name = "dagger-components" version = "0.1.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#924bcf8c8c09419b49fd816230dfa6bcabb9cc18" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#59748fb6e638411fb1c222c0c8e69fbd2d72d435" [[package]] name = "dagger-cuddle-please" version = "0.2.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#924bcf8c8c09419b49fd816230dfa6bcabb9cc18" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#59748fb6e638411fb1c222c0c8e69fbd2d72d435" dependencies = [ "async-trait", "dagger-sdk", @@ -356,7 +357,7 @@ dependencies = [ [[package]] name = "dagger-rust" version = "0.2.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#924bcf8c8c09419b49fd816230dfa6bcabb9cc18" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#59748fb6e638411fb1c222c0c8e69fbd2d72d435" dependencies = [ "async-trait", "dagger-sdk", diff --git a/crates/cuddle-rust-service-plan/Cargo.toml b/crates/cuddle-rust-service-plan/Cargo.toml index 45c6f00..e0a9eca 100644 --- a/crates/cuddle-rust-service-plan/Cargo.toml +++ b/crates/cuddle-rust-service-plan/Cargo.toml @@ -9,6 +9,8 @@ tokio.workspace = true dagger-sdk = "0.9.8" eyre = { version = "0.6.12" } +tracing-subscriber.workspace = true + dagger-components = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" } dagger-rust = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" } cuddle-ci = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" } diff --git a/crates/cuddle-rust-service-plan/src/main.rs b/crates/cuddle-rust-service-plan/src/main.rs index efa6894..fd96f15 100644 --- a/crates/cuddle-rust-service-plan/src/main.rs +++ b/crates/cuddle-rust-service-plan/src/main.rs @@ -11,10 +11,13 @@ use tokio::sync::Mutex; #[tokio::main] async fn main() -> eyre::Result<()> { + tracing_subscriber::fmt::init(); + let client = dagger_sdk::connect().await?; let cuddle_file = CuddleFile::from_cuddle_file().await?; let service = &RustService::from(client.clone()) + .with_cuddle_file(&cuddle_file) .with_arch(Architecture::Amd64) .with_os(Os::Linux) .with_apt(&["libssl-dev", "libz-dev", "libpq-dev", "protobuf-compiler"]) @@ -23,7 +26,6 @@ async fn main() -> eyre::Result<()> { .with_workspace_crates() .await .with_mold("2.3.3") - .with_cuddle_file(&cuddle_file) .to_owned(); let render = &RustServiceRender::default();