Add LSIF to Go Auto DevOps gitlab-ci.yml
Problem to solve
Auto DevOps provides a great option to get started with GitLab CI with minimal work, however, if users want to add Code Intelligence, they have to explicitly reference the Auto DevOps template and add a code intelligence job. This is not intuitive or straightforward.
Proposal
Code Intelligence should be on by default for projects using Auto DevOps, for all languages that have a usable LSIF indexer.
Add a code intelligence
job to https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml that uses lsif-go
As more LSIF indexers become Ready
we can add support for those in future issues.
Links
- Auto DevOps template https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
- LSIF indexers https://lsif.dev/#LSIF_Indexers
Edited by Daniel Gruesso