feat: without extra types
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -14,7 +14,7 @@ async fn main() -> eyre::Result<()> {
|
||||
let client = dagger_sdk::connect().await?;
|
||||
let cuddle_file = CuddleFile::from_cuddle_file().await?;
|
||||
|
||||
let service = RustService::from(client.clone())
|
||||
let service = &RustService::from(client.clone())
|
||||
.with_arch(Architecture::Amd64)
|
||||
.with_os(Os::Linux)
|
||||
.with_apt(&["libssl-dev", "libz-dev", "libpq-dev", "protobuf-compiler"])
|
||||
@@ -27,25 +27,23 @@ async fn main() -> eyre::Result<()> {
|
||||
.with_deployment(false)
|
||||
.to_owned();
|
||||
|
||||
let service = Arc::new(Mutex::new(service));
|
||||
let render = &RustServiceRender::default();
|
||||
let deployment = &CuddleReleaser::new(client).await?;
|
||||
|
||||
let render = Arc::new(Mutex::new(RustServiceRender::default()));
|
||||
|
||||
let deployment = Arc::new(Mutex::new(CuddleReleaser::new(client).await?));
|
||||
CuddleCI::default()
|
||||
.with_pull_request(service.clone())
|
||||
.with_pull_request(service)
|
||||
//.with_pull_request(render.clone())
|
||||
//.with_pull_request(deployment.clone())
|
||||
.with_main(service.clone())
|
||||
.with_main(render.clone())
|
||||
.with_main(deployment.clone())
|
||||
.with_main(service)
|
||||
.with_main(render)
|
||||
.with_main(deployment)
|
||||
.execute(std::env::args())
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Clone)]
|
||||
struct RustServiceRender {}
|
||||
|
||||
#[async_trait]
|
||||
|
Reference in New Issue
Block a user