Skip to content

Local Build Parity

Intent

Ensure the same toolchain runs locally and in CI

Implementation Considerations

Scripts

  • _scripts/publisher.sh pins IG Publisher and Java version
  • _scripts/sushi.sh pins SUSHI version
  • Cache publisher and node modules in CI

Docker (optional)

  • Provide Dockerfile with pinned tools
  • Mount repo and run make build

Benefits

  • Fewer "works on my machine" issues

Trade-offs

  • Container build time