Skip to content
Merged
4 changes: 4 additions & 0 deletions .env.schema
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ GEMINI_API_KEY=
# @docs(https://opencode.ai)
OPENCODE_ZEN_API_KEY=

# Override auto-detected model (e.g. anthropic/claude-haiku for CI)
# @sensitive=false @type=string
BAUDBOT_MODEL=

# ── Slack ────────────────────────────────────────────────────────────────────

# Slack bot OAuth token (required for direct Socket Mode, optional in broker mode)
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
setup_script: bin/ci/setup-arch.sh

name: ${{ matrix.distro }}
timeout-minutes: 10
timeout-minutes: 15

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -115,7 +115,8 @@ jobs:
bash bin/ci/droplet.sh run \
"${{ steps.droplet.outputs.DROPLET_IP }}" \
~/.ssh/ci_key \
"${{ matrix.setup_script }}"
"${{ matrix.setup_script }}" \
"CI_ANTHROPIC_API_KEY=${{ secrets.CI_ANTHROPIC_API_KEY }}"

- name: Cleanup
if: always()
Expand Down
16 changes: 12 additions & 4 deletions bin/ci/droplet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,20 @@ cmd_wait_ssh() {

# ── run <ip> <ssh_private_key_file> <script> ──────────────────────────────────
cmd_run() {
local ip="${1:?Usage: droplet.sh run <ip> <ssh_private_key_file> <script>}"
local ip="${1:?Usage: droplet.sh run <ip> <ssh_private_key_file> <script> [env_vars...]}"
local key_file="${2:?}"
local script="${3:?}"

ssh -o StrictHostKeyChecking=no -o BatchMode=yes \
-i "$key_file" "root@$ip" bash -s < "$script"
shift 3

# Remaining args are KEY=VALUE env vars forwarded to the remote script.
# Prepend export statements so the remote bash -s session inherits them.
{
for var in "$@"; do
printf 'export %s\n' "$var"
done
cat "$script"
} | ssh -o StrictHostKeyChecking=no -o BatchMode=yes \
-i "$key_file" "root@$ip" bash -s
}

# ── list ──────────────────────────────────────────────────────────────────────
Expand Down
3 changes: 3 additions & 0 deletions bin/ci/setup-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ bash /home/baudbot_admin/baudbot/bin/ci/smoke-cli.sh
echo "=== Running runtime smoke checks ==="
bash /home/baudbot_admin/baudbot/bin/ci/smoke-agent-runtime.sh

echo "=== Running inference smoke check ==="
bash /home/baudbot_admin/baudbot/bin/ci/smoke-agent-inference.sh

echo "=== Installing test dependencies ==="
export PATH="/home/baudbot_agent/opt/node/bin:$PATH"
cd /home/baudbot_admin/baudbot
Expand Down
3 changes: 3 additions & 0 deletions bin/ci/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ bash /home/baudbot_admin/baudbot/bin/ci/smoke-cli.sh
echo "=== Running runtime smoke checks ==="
bash /home/baudbot_admin/baudbot/bin/ci/smoke-agent-runtime.sh

echo "=== Running inference smoke check ==="
bash /home/baudbot_admin/baudbot/bin/ci/smoke-agent-inference.sh

echo "=== Installing test dependencies ==="
export PATH="/home/baudbot_agent/opt/node/bin:$PATH"
cd /home/baudbot_admin/baudbot
Expand Down
Loading