Some checks are pending
CI / docs-scope (push) Waiting to run
CI / changed-scope (push) Blocked by required conditions
CI / build-artifacts (push) Blocked by required conditions
CI / release-check (push) Blocked by required conditions
CI / checks (pnpm canvas:a2ui:bundle && bunx vitest run --config vitest.unit.config.ts, bun, test) (push) Blocked by required conditions
CI / checks (pnpm canvas:a2ui:bundle && pnpm test, node, 2, 1, test) (push) Blocked by required conditions
CI / checks (pnpm canvas:a2ui:bundle && pnpm test, node, 2, 2, test) (push) Blocked by required conditions
CI / checks (pnpm protocol:check, node, protocol) (push) Blocked by required conditions
CI / checks (pnpm test:channels, node, channels) (push) Blocked by required conditions
CI / checks (pnpm test:extensions, node, extensions) (push) Blocked by required conditions
CI / check (push) Blocked by required conditions
CI / startup-memory (push) Blocked by required conditions
CI / check-docs (push) Blocked by required conditions
CI / compat-node22 (push) Blocked by required conditions
CI / skills-python (push) Blocked by required conditions
CI / secrets (push) Waiting to run
CI / checks-windows (pnpm test, node, 6, 1, test) (push) Blocked by required conditions
CI / checks-windows (pnpm test, node, 6, 2, test) (push) Blocked by required conditions
CI / checks-windows (pnpm test, node, 6, 3, test) (push) Blocked by required conditions
CI / checks-windows (pnpm test, node, 6, 4, test) (push) Blocked by required conditions
CI / checks-windows (pnpm test, node, 6, 5, test) (push) Blocked by required conditions
CI / checks-windows (pnpm test, node, 6, 6, test) (push) Blocked by required conditions
CI / macos (push) Blocked by required conditions
CI / ios (push) Waiting to run
CI / android (./gradlew --no-daemon :app:assembleDebug, build) (push) Blocked by required conditions
CI / android (./gradlew --no-daemon :app:testDebugUnitTest, test) (push) Blocked by required conditions
Docker Release / validate_manual_backfill (push) Waiting to run
Docker Release / approve_manual_backfill (push) Blocked by required conditions
Docker Release / build-amd64 (push) Blocked by required conditions
Docker Release / build-arm64 (push) Blocked by required conditions
Docker Release / create-manifest (push) Blocked by required conditions
Install Smoke / docs-scope (push) Waiting to run
Install Smoke / install-smoke (push) Blocked by required conditions
Sandbox Common Smoke / sandbox-common-smoke (push) Waiting to run
Workflow Sanity / no-tabs (push) Waiting to run
Workflow Sanity / actionlint (push) Waiting to run
Workflow Sanity / config-docs-drift (push) Waiting to run
63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
name: Sandbox Common Smoke
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- Dockerfile.sandbox
|
|
- Dockerfile.sandbox-common
|
|
- scripts/sandbox-common-setup.sh
|
|
pull_request:
|
|
paths:
|
|
- Dockerfile.sandbox
|
|
- Dockerfile.sandbox-common
|
|
- scripts/sandbox-common-setup.sh
|
|
|
|
concurrency:
|
|
group: sandbox-common-smoke-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
|
|
|
jobs:
|
|
sandbox-common-smoke:
|
|
runs-on: blacksmith-16vcpu-ubuntu-2404
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
submodules: false
|
|
|
|
- name: Set up Docker Builder
|
|
uses: docker/setup-buildx-action@v4
|
|
|
|
- name: Build minimal sandbox base (USER sandbox)
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
|
|
docker build -t openclaw-sandbox-smoke-base:bookworm-slim - <<'EOF'
|
|
FROM debian:bookworm-slim
|
|
RUN useradd --create-home --shell /bin/bash sandbox
|
|
USER sandbox
|
|
WORKDIR /home/sandbox
|
|
EOF
|
|
|
|
- name: Build sandbox-common image (root for installs, sandbox at runtime)
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
|
|
BASE_IMAGE="openclaw-sandbox-smoke-base:bookworm-slim" \
|
|
TARGET_IMAGE="openclaw-sandbox-common-smoke:bookworm-slim" \
|
|
PACKAGES="ca-certificates" \
|
|
INSTALL_PNPM=0 \
|
|
INSTALL_BUN=0 \
|
|
INSTALL_BREW=0 \
|
|
FINAL_USER=sandbox \
|
|
scripts/sandbox-common-setup.sh
|
|
|
|
u="$(docker run --rm openclaw-sandbox-common-smoke:bookworm-slim sh -lc 'id -un')"
|
|
test "$u" = "sandbox"
|