ci: add Gitea Actions workflow and Docker Compose test runner; add test image\n\ngovernance: encode CI/containers rules in system prompts and AGENTS templates; update proposal and docs
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
2025-09-17 11:07:06 -05:00
parent 8a55d59804
commit cf66c9a065
13 changed files with 114 additions and 7 deletions

19
docker/compose.yml Normal file
View File

@@ -0,0 +1,19 @@
name: codexhelper
services:
tests:
build:
context: ..
dockerfile: docker/test/Dockerfile
container_name: codexhelper-tests
working_dir: /work
volumes:
- ..:/work:Z
command: ["/bin/bash", "-lc", "scripts/test.sh"]
networks:
- codexhelper-net
networks:
codexhelper-net:
name: codexhelper-net

11
docker/test/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM debian:bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates git bash curl jq yq \
bats \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /work