Skip to content

Commit 6ac4d1b

Browse files
author
Jasmin Oster
committed
docs(integrations): Add example usage for GitLab CI
1 parent db6283c commit 6ac4d1b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/src/docs/welcome/install.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ A simple quickstart is their [CI component](https://gitlab.com/explore/catalog/c
3232

3333
```yaml .gitlab-ci.yml
3434
include:
35-
- component: gitlab.com/components/code-quality-oss/codequality-os-scanners-integration/[email protected]
35+
- component: $CI_SERVER_FQDN/components/code-quality-oss/codequality-os-scanners-integration/[email protected]
3636
```
3737
38+
Note that you [can only reference components in the same GitLab instance as your project](https://docs.gitlab.com/ci/components/#use-a-component)
39+
Note: Right now, this wi works on `gitlab.com
40+
3841
### Other CI
3942

4043
Here is the other way to install golangci-lint:

docs/src/docs/welcome/integrations.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The following plugins support `golangci-lint`:
5151
## Shell Completion
5252

5353
`golangci-lint` can generate Bash, fish, PowerShell, and Zsh completion files.
54-
54+
]
5555
See the instructions on `golangci-lint completion <YOUR_SHELL> --help` (replace `<YOUR_SHELL>` with your favorite one).
5656

5757
<details><summary>Bash & macOS</summary>
@@ -85,4 +85,5 @@ source ~/.bashrc
8585

8686
## CI Integration
8787

88-
See our [GitHub Action](/welcome/install/#github-actions).
88+
Check out our [documentation for CI integrations](/welcome/install#ci-installation).
89+

0 commit comments

Comments
 (0)