🚀 Features
🐛 Bug fixes
- 0e0f64e (cache) fix uncaught Exception when cache is created on a read-only FS
- 26830aa (docker) fix "docker save" failing on Windows (#161)
- 307d662 (docker) fix crash on Windows when saving Docker images (#160)
- e8cdd94 (tests) remove platform specific code
- fee7b07 (tests) support macos tmp dir to make tests pass
- e7047f4 (ci) stop to tag every Docker images as latest
🔧 Chores and Improvements
📦 Other
- 316d72f Update doc/pre-receive.sample
Co-authored-by: Aurelien Gateau aurelien.gateau@gitguardian.com
fix(ci): stop to tag every Docker images as latest
chore(output_handler): refactor output handling
- Remove unnecessary empty methods from OutputHandler
- Move code writing to stdout or to the specified file to OutputHandler
- Move code computing the exit code to OutputHandler
- Rename concrete classes from ${FORMAT}Handler to ${FORMAT}OutputHandler and their files from ${format}_output.py to ${format}_output_handler.py
- Add docstrings to OutputHandler methods
- 621a6bb (pre-commit) add description to hooks (#153)
- 8796fbc Unbreak unit tests (#154)
- chore: update cassettes and snapshots
Fixes #148
Use GitGuardian test tokens instead of SendGrid Key.
Do not reuse cassettes between tests, it's confusing and feels brittle.
Do not activate pytest-socket by default, only turn it on in the CI. This way one can update VCR cassettes by removing the cassette files, no need to edit the pyproject.toml file. Proposed changes still need to not do any network access for the CI to pass.
Make exclude tests easier to understand: all runs are now expected to exit with 0 and we check stdout to verify if the normally ignored files are there or not. Factorize code creating the normally ignored test file.
- 4ac156b (README) fix azure pipelines link (#152)
- 23b6402 fix(ci) no secret found no more displayed if secrets found (#147)
- fix(ci) do not display "no secret found" when secrets are found
Co-authored-by: philippe.gablain@gitguardian.com philippe.gablain@gitguardian.com
Co-authored-by: agateau-gg aurelien.gateau@gitguardian.com
fix(tests): fix tests failure on macOS because of /tmp dir