File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 2929 go-version-file : ${{ github.workspace }}/go.mod
3030 cache : false
3131
32- - name : Install kerberos development libraries
33- run : |
34- sudo apt-get update
35- sudo apt-get install libkrb5-dev
36-
3732 - name : Enable Go build cache
3833 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3934 with :
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ VERSION_FLAGS = -X 'github.com/percona/pmm/version.ProjectName=pmm-agent' \
2525 -X 'github.com/percona/pmm/version.Branch=$(PMM_RELEASE_BRANCH ) '
2626
2727release : # # Build static pmm-agent release binary (Linux only)
28- CGO_ENABLED=1 go build -v -ldflags " $( VERSION_FLAGS) " -tags ' osusergo netgo static_build gssapi ' -o $(PMM_RELEASE_PATH ) /pmm-agent
28+ CGO_ENABLED=1 go build -v -ldflags " -extldflags '-static' $( VERSION_FLAGS) " -tags ' osusergo netgo static_build' -o $(PMM_RELEASE_PATH ) /pmm-agent
2929 go build -v -ldflags " -extldflags '-static' $( VERSION_FLAGS) " -tags ' osusergo netgo static_build' -o $(PMM_RELEASE_PATH ) /pmm-agent-entrypoint ./cmd/pmm-agent-entrypoint
3030 $(PMM_RELEASE_PATH ) /pmm-agent --version
31- # ldd $(PMM_RELEASE_PATH)/pmm-agent 2>&1 | grep -Fq 'not a dynamic executable'
31+ ldd $(PMM_RELEASE_PATH ) /pmm-agent 2>&1 | grep -Fq ' not a dynamic executable'
3232
3333release-dev :
34- CGO_ENABLED=1 go build -race -v -ldflags " $( VERSION_FLAGS) " -tags ' gssapi ' - o $(PMM_RELEASE_PATH ) /pmm-agent
34+ CGO_ENABLED=1 go build -race -v -ldflags " $( VERSION_FLAGS) " -o $(PMM_RELEASE_PATH ) /pmm-agent
3535
3636gen : clean # # Generate files
3737 go generate ./...
You can’t perform that action at this time.
0 commit comments