mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
golangci-lint: optionally skip it during "make verify"
The pull-kubernetes-verify job is going to use this to run the base verify-golangci.sh only in the pull-kubernetes-verify-lint job.
This commit is contained in:
parent
5909bd2ddf
commit
39606af8c3
@ -58,6 +58,13 @@ if [[ ${EXCLUDE_GODEP:-} =~ ^[yY]$ ]]; then
|
||||
)
|
||||
fi
|
||||
|
||||
# Exclude golangci-lint if requested, for example in pull-kubernetes-verify.
|
||||
if [[ ${EXCLUDE_GOLANGCI_LINT:-} =~ ^[yY]$ ]]; then
|
||||
EXCLUDED_PATTERNS+=(
|
||||
"verify-golangci.sh" # runs in separate pull-kubernetes-verify-lint
|
||||
)
|
||||
fi
|
||||
|
||||
# Exclude readonly package check in certain cases, aka, in periodic jobs we don't care and a readonly package won't be touched
|
||||
if [[ ${EXCLUDE_READONLY_PACKAGE:-} =~ ^[yY]$ ]]; then
|
||||
EXCLUDED_PATTERNS+=(
|
||||
|
Loading…
Reference in New Issue
Block a user