[Week 7] Enhance your CI Pipelines with at least three static analysis tools #41
Labels
No labels
operations
simulator api
tests
web app
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
DevOpps/minitwit#41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Include linters and code formatters for the programming and configurations that you are using in your repositories. That is, you likely include at least three static analysis tools as software quality gates into your CI/CD pipelines. One linter and one code formatter for your main programming language, one linter for your Dockerfiles. Add other suitable linters, e.g., in case you rely on shell scripts
shellcheck, etc. You might want to start searching for relevant tools for your respective languages and frameworks here: https://github.com/mre/awesome-static-analysis.Include all of these tools in a way that you either abort build in case quality of your code is too low (you will have to define some threshold here) or that you decide to trust them and let the tools try to automatically fix problems (in case you find a tool that supports that). In the latter case, you want to let the corresponding tool contribute the applied changes back to the corresponding source repository.