clockworklabs_spacetimedb/.github/docker-compose.yml
Zeke Foppa 3395b1e905
CI - Cache more of our build outputs (#3521)
# Description of Changes

Changes with cache hit:
CI / Smoketests (spacetimedb-runner): 17m -> 10m
CI / Smoketests (windows-latest): 39m -> 31m
CI / Lints: 3m30s -> 2m
unity-testsuite: 23m -> 19m

This included creating a stripped-down `Dockerfile` that only runs
SpacetimeDB (as opposed to e.g. building tracy, flamegraphs, etc.). That
shaves off about 4-5m on the linux smoketests job.

# API and ABI breaking changes

No. CI only.

# Expected complexity level and risk

2

# Testing

Ran existing CI and noted the change in times in the description above

---------

Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
2025-11-19 20:18:26 +00:00

16 lines
297 B
YAML

services:
node:
labels:
app: spacetimedb
build:
context: ../
dockerfile: .github/Dockerfile
ports:
- "3000:3000"
# Postgres
- "5432:5432"
entrypoint: spacetime start --pg-port 5432
privileged: true
environment:
RUST_BACKTRACE: 1