We test this server in our production environment and use it full time as part of our Zero Trust deployment.
All code tested must follow these testing rules:
- All code must be tested against a real Cloudflare ZTA environment.
- Changes to code should be tested to avoid breaking existing infrastructure.
- Code should pass
pre-commit
checks.
This repo uses Yelp's pre-commit to manage some pre-commit hooks automatically.
In order to use the hooks, make sure you have pre-commit
, and pylint
in your $PATH
.
Once in your path you should run pre-commit install
in order to configure it. If you push commits that fail pre-commit, your PR will
not be merged.
You can run Docker using locally built containers via
docker-compose -f test-compose.yml up -d
This project uses poetry for Python requirements both for development and building the Docker container.
Coming soon ;)
Return to README