Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
2bb00320e6
commit
1c3ea63967
@ -9,23 +9,9 @@ async fn main() -> eyre::Result<()> {
|
|||||||
let client = dagger_sdk::connect().await?;
|
let client = dagger_sdk::connect().await?;
|
||||||
let cuddle_file = CuddleFile::from_cuddle_file().await?;
|
let cuddle_file = CuddleFile::from_cuddle_file().await?;
|
||||||
|
|
||||||
let service = &RustService::from(client.clone())
|
|
||||||
.with_arch(Architecture::Amd64)
|
|
||||||
.with_os(Os::Linux)
|
|
||||||
.with_apt(&["libssl-dev", "libz-dev", "libpq-dev", "protobuf-compiler"])
|
|
||||||
.with_apt_release(&["libssl-dev", "libz-dev", "libpq-dev"])
|
|
||||||
.with_cuddle_file(&cuddle_file)
|
|
||||||
.with_apt_ca_certificates()
|
|
||||||
.with_workspace_crates()
|
|
||||||
.await
|
|
||||||
.with_mold("2.3.3")
|
|
||||||
.to_owned();
|
|
||||||
|
|
||||||
let cuddle_please = &cuddle_please::CuddlePlease::new(client.clone());
|
let cuddle_please = &cuddle_please::CuddlePlease::new(client.clone());
|
||||||
|
|
||||||
CuddleCI::default()
|
CuddleCI::default()
|
||||||
.with_pull_request(service)
|
|
||||||
.with_main(service)
|
|
||||||
.with_main(cuddle_please)
|
.with_main(cuddle_please)
|
||||||
.execute(std::env::args())
|
.execute(std::env::args())
|
||||||
.await?;
|
.await?;
|
||||||
|
Loading…
Reference in New Issue
Block a user