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 61
61
- name : Upload coverage results
62
62
uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
63
63
with :
64
- file : cover.out
64
+ files : cover.out
65
65
flags : agent
66
66
env_vars : GO_VERSION,TEST_MONGODB_IMAGE
67
67
fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -2,6 +2,25 @@ dist: build
2
2
version : 2
3
3
builds :
4
4
- 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
5
24
env :
6
25
- CGO_ENABLED=1
7
26
goos :
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ init: ## Install linters
71
71
cd tools && go generate -x -tags=tools
72
72
73
73
build : # # 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
75
75
76
76
release : # # Build the binaries using goreleaser
77
77
docker run --rm --privileged \
You can’t perform that action at this time.
0 commit comments