mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-23 14:31:00 +00:00
Expose 28 tools with shared REST operations, role-scoped bearer authentication, revisions, durable retries, snapshots, jobs and timed rollback. Add Docker verification harnesses and setup/workflow documentation in docs/mcp.md and inst.md. Validated with 330 unit tests, two consecutive 25-case MCP/import runs, and restart recovery; the full upstream regression run remains incomplete.
16 lines
715 B
Docker
16 lines
715 B
Docker
# Build from the production image so the tested API and datapath are exactly those
|
|
# shipped. Tests run as root in this container's isolated network namespace.
|
|
ARG FIREGEX_IMAGE=firegex-mcp:dev
|
|
FROM ${FIREGEX_IMAGE}
|
|
USER root
|
|
RUN dnf install -y gcc python3.14-devel curl tcpdump iptables procps-ng && dnf clean all
|
|
COPY tests/pyproject.toml /test/tests/pyproject.toml
|
|
COPY fgex-lib /test/fgex-lib
|
|
RUN python3 -m venv /test/tests/.venv && \
|
|
/test/tests/.venv/bin/pip install --group /test/tests/pyproject.toml:test && \
|
|
/test/tests/.venv/bin/pip install -e /test/fgex-lib
|
|
COPY tests /test/tests
|
|
COPY backend /test/backend
|
|
ENV FIREGEX_MCP_TEST_DB=/execute/db/mcp/control.sqlite3
|
|
ENV FIREGEX_TEST_DEPS_READY=1
|