Compare commits

..

8 Commits

Author SHA1 Message Date
0e357a3ae7 chore(deps): update all dependencies
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-11-29 04:22:53 +00:00
8b96f4ca91 chore(deps): update tokio-tracing monorepo
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build was killed
2025-11-29 01:23:17 +00:00
a10e5601ea chore(deps): update rust crate tracing-subscriber to v0.3.20
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build was killed
2025-11-13 01:46:41 +00:00
2e6188db5d feat: update to use trixie
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-29 15:39:18 +02:00
c0e7190f65 feat: add rust cli plan
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-29 14:56:26 +02:00
c6e2bb116a bogus
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-26 14:45:58 +02:00
2e85e908c5 feat: update cli plan
All checks were successful
continuous-integration/drone Build is passing
2025-07-26 14:44:34 +02:00
985556ea80 feat: update template 2025-03-25 23:16:17 +01:00
6 changed files with 527 additions and 388 deletions

844
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ members = ["crates/*", "ci"]
resolver = "2"
[workspace.dependencies]
dagger-sdk = "0.19.0"
anyhow = { version = "1.0.85" }
tokio = { version = "1", features = ["full"] }
tracing = { version = "0.1", features = ["log"] }

View File

@@ -5,9 +5,9 @@ edition = "2021"
[dependencies]
tokio.workspace = true
dagger-sdk.workspace = true
dagger-sdk = "0.15.0"
eyre = { version = "0.6.12" }
eyre = { version = "0.6" }
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" }

View File

@@ -5,13 +5,13 @@ edition = "2021"
[dependencies]
tokio.workspace = true
dagger-sdk.workspace = true
dagger-sdk = "0.15.0"
eyre = { version = "0.6.12" }
eyre = { version = "0.6" }
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" }
async-trait = "0.1.80"
async-trait = "0.1"
tracing.workspace = true
tracing-subscriber.workspace = true

View File

@@ -16,7 +16,13 @@ async fn main() -> eyre::Result<()> {
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(&[
"libssl-dev",
"libz-dev",
"libpq-dev",
"protobuf-compiler",
"cmake",
])
.with_apt_release(&["libssl-dev", "libz-dev", "libpq-dev"])
.with_cuddle_file(&cuddle_file)
.with_apt_ca_certificates()
@@ -77,6 +83,17 @@ impl cuddle_ci::ReleaseAction for RustReleaser {
rust_image
.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_new_file(
"/root/.cargo/credentials",

View File

@@ -44,30 +44,16 @@ steps:
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- pull_request
@@ -96,30 +82,16 @@ steps:
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- push
@@ -150,21 +122,11 @@ steps:
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
@@ -174,8 +136,6 @@ steps:
from_secret: cuddle_please_token
CRATES_IO_TOKEN:
from_secret: crate_io_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
ref:
- refs/tags/v*