Compare commits
1 Commits
main
...
5ecca5b12e
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ecca5b12e |
725
Cargo.lock
generated
725
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@ members = ["crates/*", "ci"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
dagger-sdk = "0.18.3"
|
|
||||||
anyhow = { version = "1.0.85" }
|
anyhow = { version = "1.0.85" }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
tracing = { version = "0.1", features = ["log"] }
|
tracing = { version = "0.1", features = ["log"] }
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
dagger-sdk.workspace = true
|
|
||||||
|
|
||||||
|
dagger-sdk = "0.17.1"
|
||||||
eyre = { version = "0.6" }
|
eyre = { version = "0.6" }
|
||||||
|
|
||||||
dagger-components = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" }
|
dagger-components = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" }
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
dagger-sdk.workspace = true
|
|
||||||
|
|
||||||
|
dagger-sdk = "0.17.1"
|
||||||
eyre = { version = "0.6" }
|
eyre = { version = "0.6" }
|
||||||
|
|
||||||
dagger-components = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" }
|
dagger-components = { git = "https://git.front.kjuulh.io/kjuulh/dagger-components", branch = "main" }
|
||||||
|
|||||||
@@ -16,13 +16,7 @@ async fn main() -> eyre::Result<()> {
|
|||||||
let service = &RustService::from(client.clone())
|
let service = &RustService::from(client.clone())
|
||||||
.with_arch(Architecture::Amd64)
|
.with_arch(Architecture::Amd64)
|
||||||
.with_os(Os::Linux)
|
.with_os(Os::Linux)
|
||||||
.with_apt(&[
|
.with_apt(&["libssl-dev", "libz-dev", "libpq-dev", "protobuf-compiler"])
|
||||||
"libssl-dev",
|
|
||||||
"libz-dev",
|
|
||||||
"libpq-dev",
|
|
||||||
"protobuf-compiler",
|
|
||||||
"cmake",
|
|
||||||
])
|
|
||||||
.with_apt_release(&["libssl-dev", "libz-dev", "libpq-dev"])
|
.with_apt_release(&["libssl-dev", "libz-dev", "libpq-dev"])
|
||||||
.with_cuddle_file(&cuddle_file)
|
.with_cuddle_file(&cuddle_file)
|
||||||
.with_apt_ca_certificates()
|
.with_apt_ca_certificates()
|
||||||
@@ -83,17 +77,6 @@ impl cuddle_ci::ReleaseAction for RustReleaser {
|
|||||||
|
|
||||||
rust_image
|
rust_image
|
||||||
.with_workdir("/mnt/src")
|
.with_workdir("/mnt/src")
|
||||||
.with_exec(vec!["apt", "update"])
|
|
||||||
.with_exec(vec![
|
|
||||||
"apt",
|
|
||||||
"install",
|
|
||||||
"-y",
|
|
||||||
"libssl-dev",
|
|
||||||
"libz-dev",
|
|
||||||
"libpq-dev",
|
|
||||||
"protobuf-compiler",
|
|
||||||
"cmake",
|
|
||||||
])
|
|
||||||
.with_directory("/mnt/src", src)
|
.with_directory("/mnt/src", src)
|
||||||
.with_new_file(
|
.with_new_file(
|
||||||
"/root/.cargo/credentials",
|
"/root/.cargo/credentials",
|
||||||
|
|||||||
Reference in New Issue
Block a user