ci: persistent Cargo cache, run on either runner #6

Merged
jcoffey-dev merged 1 commits from ci/cargo-cache into main 2026-09-22 15:37:49 +00:00
Owner

Mounts the named volume inbuxa-server-cargo at /cache for CARGO_HOME and CARGO_TARGET_DIR so pushes reuse the compiled dependency tree, moves the build to runs-on: light, sizes cargo jobs from the CPU cap, and drops the target dir past 25 GB.

Mounts the named volume inbuxa-server-cargo at /cache for CARGO_HOME and CARGO_TARGET_DIR so pushes reuse the compiled dependency tree, moves the build to runs-on: light, sizes cargo jobs from the CPU cap, and drops the target dir past 25 GB.
jcoffey-dev added 1 commit 2026-09-22 14:59:41 +00:00
ci: persistent Cargo cache, run on either runner
ci / build (pull_request) Successful in 38m1s
1ee2e2a6a3
The build now mounts the named volume inbuxa-server-cargo at /cache and keeps
CARGO_HOME and CARGO_TARGET_DIR there, so a push reuses the compiled
dependency tree (RocksDB included) instead of rebuilding it from scratch.
Both runners allow that one volume; each host keeps its own copy.

With the cache in place the job moves to runs-on: light, so it can run on
host2 as well. Cargo's parallelism now follows the job's CPU cap rather than
the host's core count, and the target dir is dropped past 25 GB.
jcoffey-dev merged commit 521b8449bf into main 2026-09-22 15:37:49 +00:00
jcoffey-dev deleted branch ci/cargo-cache 2026-09-22 15:37:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#6