4 ms·
Looks good. We were trying to implement this using a mix of CI, pre-commit hooks and Gitlab PR templates, but it was limiting. This looks like exactly what we n
by theanirudh 7y ago
Looks good. We were trying to implement this using a mix of CI, pre-commit hooks and Gitlab PR templates, but it was limiting. This looks like exactly what we needed.
Regarding custom rules, does the tool run automated tests for those too?
- shimont 7y agoMost companies we see try to implement something by themselves. pre-commit hooks is a major problem as it requires all the developers to install them on their computer, which is part of the problem itself right? aligning the dev team :) Your unit tests and integration tests should still run using your CI. We run tests around the git and structured files
- eyarz 7y agojust to clarify, Datree runs automatic checks for each custom rule that a user creates
- theanirudh 7y agoWe have a Java + Mongo stack and recently we had an issue in prod where code was deployed with a @Indexed annotation. When deployed this will create an index on startup and can lock up the DB. We had this issue years ago, but it slipped pass code review and we had a 10 minute downtime because of this. Can this be prevented using custom rules in Datree?