Skip to content
Snippets Groups Projects
Verified Commit 0fdc9234 authored by Bob Van Landuyt :neckbeard:'s avatar Bob Van Landuyt :neckbeard: 😎
Browse files

chore(docs): extend docs on golang inputs

This documents all of the inputs that can be passed to the
`golangci_lint.yml` CI- template.
parent 0b9b8f38
No related branches found
No related tags found
No related merge requests found
Pipeline #24674444 passed
Loading
Loading
@@ -18,3 +18,15 @@ include:
inputs:
golangci_lint_timeout: 5m # optionally specify a separate timeout
```
## Configuration
This template receives the following input variables:
- `stage`: The stage in which the `golangci_lint` job runs
Default: `validate`
- `docker_hub_host`: The docker hub host from which to pull the
`golangci-lint` image.
Default: `docker.io`
- `golangci_lint_timeout`: The timeout used for `golangci-lint`
Default: `5m`
Loading
Loading
@@ -48,3 +48,10 @@ include:
validate_stage: test # stage that validation jobs should run in
release_stage: deploy # stage that release jobs should run in
```
## Other configuration
The following values can also be configured and are passed to the
relevant tasks:
- `golangci_lint_timeout`: [`golangci-lint.yml`](../golangci-lint.md)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment