Add Linting to Topology Service CI/CD
In the Topology Service https://gitlab.com/gitlab-org/cells/topology-service
We are using .proto
files to generate the Interface and the GO/Ruby clients.
We should have Linting enabled for the project in the CI/CD file, using protolint
.
This might require us to fix some violations (especially Enums), or we can skip them in .protolint
.
For reference, see how the Gitaly project is implementing this:
- See
lint-proto
job in https://gitlab.com/gitlab-org/gitaly/-/blob/master/.gitlab-ci.yml?ref_type=heads - Lint rules in Gitaly project: https://gitlab.com/gitlab-org/gitaly/-/blob/master/proto/.protolint.yaml?ref_type=heads
CC: @ayufan
Edited by Omar Qunsul