mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
ci: new regression test for the Python module
Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user