File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ set -o errexit
33set -o nounset
44set -o xtrace
55
6+ echo " GOMAXPROCS: $GOMAXPROCS " # debug prow CPU limit to ensure job not being throttled
7+
68GOLANGCI_LINT_RUN_OPTS=" "
79GOLANGCI_LINT_RUN_OPTS=" $GOLANGCI_LINT_RUN_OPTS --verbose" # debug linter timing and mem usage
8- GOLANGCI_LINT_RUN_OPTS=" $GOLANGCI_LINT_RUN_OPTS --concurrency=2 " # prow job lags if too many threads
10+ GOLANGCI_LINT_RUN_OPTS=" $GOLANGCI_LINT_RUN_OPTS --concurrency=$GOMAXPROCS " # golangci-lint seems to do a bad job obeying GOMAXPROCS
911export GOLANGCI_LINT_RUN_OPTS
1012
1113make lint
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ set -o errexit
33set -o nounset
44set -o xtrace
55
6- export GOMAXPROCS=2 # prow job lags if too many threads
6+ echo " GOMAXPROCS: $GOMAXPROCS " # debug prow CPU limit to ensure job not being throttled
77
88make test
You can’t perform that action at this time.
0 commit comments