feat: add declarative sing-box egress control plane

This commit is contained in:
2026-08-27 00:58:52 +05:00
commit b8d19b2c3e
54 changed files with 3337 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
stages:
- test
- package
default:
image: debian:trixie
test:
stage: test
script:
- apt-get update
- apt-get install -y --no-install-recommends python3
- python3 --version
- python3 -m compileall -q src tests
- PYTHONPATH=src python3 -m unittest discover -s tests -v
package:
stage: package
script:
- apt-get update
- apt-get install -y --no-install-recommends build-essential debhelper dh-python pybuild-plugin-pyproject python3-all python3-setuptools python3-wheel dpkg-dev
- dpkg-buildpackage -us -uc -b
- mkdir -p dist
- cp ../vpn-egressctl_*.deb dist/
artifacts:
paths:
- dist/*.deb