mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-27 01:21:25 +00:00
Set Daytona as the project-level default sandbox so workflows that don't specify their own sandbox config run on Daytona automatically. Add a smoke workflow that verifies the sandbox toolchain (git, rustc, bun). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 lines
693 B
TOML
37 lines
693 B
TOML
version = 1
|
|
|
|
[fabro]
|
|
root = "fabro/"
|
|
retro = false
|
|
|
|
[sandbox]
|
|
provider = "daytona"
|
|
|
|
[sandbox.daytona]
|
|
auto_stop_interval = 30
|
|
|
|
[sandbox.daytona.labels]
|
|
repo = "fabro-sh/fabro"
|
|
|
|
[sandbox.daytona.snapshot]
|
|
name = "fabro-v2"
|
|
cpu = 4
|
|
memory = 8
|
|
disk = 20
|
|
dockerfile = """
|
|
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl git ca-certificates build-essential pkg-config libssl-dev unzip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Rust
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Bun
|
|
RUN curl -fsSL https://bun.sh/install | bash
|
|
ENV PATH="/root/.bun/bin:${PATH}"
|
|
|
|
WORKDIR /root
|
|
"""
|