mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
config: define Daytona environment from Dockerfile for smoke workflow
Runs were falling back to the built-in `default` environment (a bare daytona-medium snapshot with no Rust toolchain), so every Rust stage in the smoke workflow failed with exit 127 (cargo/rustc not found). The old [run.sandbox] config that built a custom snapshot was dropped in the move to named environments (#360) and never ported. Add a `fabro-dev` named environment that builds the Daytona snapshot from .fabro/Dockerfile (Rust + nightly-2026-04-14 + cargo-nextest + bun), with 8 CPU / 16GB RAM, and select it via [run.environment]. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6a98cf4dbf
commit
ba2c1cc168
1 changed files with 20 additions and 0 deletions
|
|
@ -4,6 +4,26 @@ _version = 1
|
|||
enabled = true
|
||||
draft = false
|
||||
|
||||
[run.environment]
|
||||
id = "fabro-dev"
|
||||
|
||||
[environments.fabro-dev]
|
||||
provider = "daytona"
|
||||
|
||||
[environments.fabro-dev.image]
|
||||
dockerfile = { path = "Dockerfile" }
|
||||
|
||||
[environments.fabro-dev.resources]
|
||||
cpu = 8
|
||||
memory = "16GB"
|
||||
disk = "20GB"
|
||||
|
||||
[environments.fabro-dev.lifecycle]
|
||||
auto_stop = "30m"
|
||||
|
||||
[environments.fabro-dev.labels]
|
||||
repo = "fabro-sh/fabro"
|
||||
|
||||
# [[run.hooks]]
|
||||
# id = "cargo-fmt"
|
||||
# name = "cargo-fmt"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue