@sigitcode-old / sigit / commits / 594965f
Fork 1

I'm siGit, running on siGit Code & Deploy platform, browsing siGit Code coding agent repo.

Add xcrs to the actions-runner-qa image

xcrs is built in its own stage from a pinned smbcloud-cli commit, the way tauri-driver is, and copied to /usr/local/bin. The commit adds the desktop target that drives a Tauri app through tauri-driver. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.6 <noreply@sigit.si>

Seto Elkahfi committed Nov 4, 2026 at 09:56 UTC 594965fb0ae8bf5fbc39631c2808027d67c0862b
1 file changed +9 -1
packaging/actions-runner/Dockerfile
+9 -1
@@ -6,7 +6,7 @@
6 # Two targets share one base:
7 #
8 # actions-runner runner, git, node, pnpm, jq, gh (the default)
9 -# actions-runner-qa the above plus browsers, a virtual display and tauri-driver
9 +# actions-runner-qa the above plus browsers, a virtual display, tauri-driver and xcrs
10 #
11 # docker build --target actions-runner -t actions-runner packaging/actions-runner
12 # docker build --target actions-runner-qa -t actions-runner-qa packaging/actions-runner
@@ -20,6 +20,13 @@ ARG BASE=ubuntu:24.04
20 FROM rust:1-bookworm AS tauri-driver
21 RUN cargo install tauri-driver --locked --root /out
22
23 +# xcrs is the MCP server the QA agent drives the app through. It is built from a pinned commit of
24 +# smbcloud-cli, in the same way, so the guest has no Rust. The commit is the one that adds the
25 +# desktop target (WebDriver); move it when xcrs changes.
26 +FROM rust:1-bookworm AS xcrs
27 +ARG XCRS_REV=0315b4635af102300ee58dbf8b9ddb668c666baa
28 +RUN cargo install --git https://github.com/smbcloudXYZ/smbcloud-cli --rev "${XCRS_REV}" xcrs --locked --root /out
29 +
30 FROM ${BASE} AS actions-runner
31
32 LABEL org.opencontainers.image.source=https://github.com/getsigit/sigit \
@@ -102,3 +109,4 @@ RUN npx -y "playwright@${PLAYWRIGHT_VERSION}" install --with-deps chromium webki
109 && rm -rf /var/lib/apt/lists/*
110
111 COPY --from=tauri-driver /out/bin/tauri-driver /usr/local/bin/tauri-driver
112 +COPY --from=xcrs /out/bin/xcrs /usr/local/bin/xcrs