Commit 8ae39123 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-fix-code-intelligence-ci-example' into 'master'

Fix CI example in Code Intelligence docs

See merge request gitlab-org/gitlab!35581
parents dc718492 682bc207
...@@ -23,12 +23,14 @@ Enable code intelligence for a project by adding a GitLab CI/CD job to the proje ...@@ -23,12 +23,14 @@ Enable code intelligence for a project by adding a GitLab CI/CD job to the proje
```yaml ```yaml
code_navigation: code_navigation:
image: golang:1.14.0
allow_failure: true # recommended
script: script:
- go get github.com/sourcegraph/lsif-go/cmd/lsif-go - go get github.com/sourcegraph/lsif-go/cmd/lsif-go
- lsif-go - lsif-go
artifacts: artifacts:
reports: reports:
lsif: dump.lsif lsif: dump.lsif
``` ```
The generated LSIF file must be less than 170MiB. The generated LSIF file must be less than 170MiB.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment