ci: new regression test for the Python module

Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
d9pouces
2026-09-04 19:20:41 +02:00
parent 2c2b4fc340
commit a8435e9c96
16 changed files with 594 additions and 39 deletions
@@ -0,0 +1,16 @@
# Minimal PEP 503 "simple" package index, serving one hand-built test wheel
# over TLS, used by tox-docker to exercise the `python` module integration
# test (tests/configs/Python.yaml.tmpl, tests/dockerfiles/Python.Dockerfile).
#
# Built by tox-docker, whose build context is this directory (not the repo
# root) - every COPY source below must live under tests/dockerfiles/repos/.
FROM python:3.13-slim AS wheelbuild
COPY build_test_wheel.py /build_test_wheel.py
RUN python3 /build_test_wheel.py
FROM nginx:alpine
COPY --from=wheelbuild /srv /srv
COPY repo-server.crt.pem /etc/nginx/certs/repo-server.crt.pem
COPY repo-server.key.pem /etc/nginx/certs/repo-server.key.pem
COPY pypi-repo.nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 8443