Ephemeral CPU Droplet fleet that horizontally scales the iteration loop:
- infra/terraform/test-fleet: cattle Droplets from a golden image (auto-discovered
by name via digitalocean_images), grouped under the mc:dev DO project, with a
mocked-provider test suite (no token/spend).
- infra/packer: golden-image builder reusing scripts/dev-setup/linux.sh.
- scripts/run/dist.sh: ./run dist:{check,up,sim,train,down} — shard sim/test
batches across workers via autoplay-batch AUTOPLAY_HOST+SEED_OFFSET.
GPU intentionally absent (workload is CPU-bound per docs/ai-production.md).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
823 B
Text
19 lines
823 B
Text
# Copy to terraform.tfvars and fill in. terraform.tfvars is gitignored.
|
|
# The token is best passed via env instead: export TF_VAR_do_token=...
|
|
|
|
# Required: GitLab origin the golden image was built from.
|
|
git_remote = "https://gitlab.com/<you>/magic-civilization.git"
|
|
|
|
# Optional overrides (defaults shown).
|
|
# region = "nyc3" # NYC (also: nyc1, sfo3, ams3, fra1)
|
|
# size = "s-8vcpu-16gb" # bursty test/sim; use c-8 for sustained training
|
|
# git_ref = "main"
|
|
# remote_user = "mc"
|
|
# ssh_public_key_path = "~/.ssh/id_ed25519.pub"
|
|
|
|
# workers is normally set on the CLI by the dispatch layer
|
|
# (./run dist:up N -> -var workers=N), not pinned here.
|
|
# workers = 0
|
|
|
|
# Bootstrap only: set to test `terraform plan` before a golden image exists.
|
|
# base_image = "ubuntu-24-04-x64"
|