File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 6161 - name : Upload coverage results
6262 uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
6363 with :
64- file : cover.out
64+ files : cover.out
6565 flags : agent
6666 env_vars : GO_VERSION,TEST_MONGODB_IMAGE
6767 fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -2,6 +2,25 @@ dist: build
22version : 2
33builds :
44 - binary : mongodb_exporter
5+ env :
6+ goos :
7+ - linux
8+ - darwin
9+ - windows
10+ goarch :
11+ - amd64
12+ - arm
13+ - arm64
14+ goarm :
15+ - 7
16+ ignore :
17+ - goos : darwin
18+ goarch : arm
19+ flags :
20+ - -v
21+ ldflags :
22+ - -s -w -X main.version=v{{.Version}} -X main.commit={{.ShortCommit}} -X main.buildDate={{.Date}}
23+ - binary : mongodb_exporter.gssapi
524 env :
625 - CGO_ENABLED=1
726 goos :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ init: ## Install linters
7171 cd tools && go generate -x -tags=tools
7272
7373build : # # Compile using plain go build
74- CGO_ENABLED=1 go build -ldflags=" $( GO_BUILD_LDFLAGS) " -o $(PMM_RELEASE_PATH ) /mongodb_exporter -tags gssapi
74+ go build -ldflags=" $( GO_BUILD_LDFLAGS) " -o $(PMM_RELEASE_PATH ) /mongodb_exporter
7575
7676release : # # Build the binaries using goreleaser
7777 docker run --rm --privileged \
You can’t perform that action at this time.
0 commit comments