You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/07/24 06:23:19 UTC
[camel-k] branch master updated: chore(lint): tune golangci-lint
resource requirements
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 48a7080 chore(lint): tune golangci-lint resource requirements
48a7080 is described below
commit 48a7080ea60a661e37c6bc516f5af174afb1c300
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Tue Jul 23 17:41:05 2019 +0200
chore(lint): tune golangci-lint resource requirements
---
script/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/script/Makefile b/script/Makefile
index 732e96c..90e2a15 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -24,6 +24,8 @@ IMAGE_NAME := docker.io/apache/camel-k
RELEASE_GIT_REMOTE := upstream
GIT_COMMIT := $(shell git rev-list -1 HEAD)
GO_PATH := $(shell go env GOPATH)
+LINT_GOGC := 10
+LINT_DEADLINE := 5m
# For signing binary artifacts
GPG_PASS := $(GPG_PASS)
@@ -150,7 +152,7 @@ dep:
go mod tidy
lint:
- golangci-lint run
+ GOGC=$(LINT_GOGC) golangci-lint run --deadline $(LINT_DEADLINE)
images: test
mkdir -p build/_maven_output