Skip to content

Commit 5c8cfa3

Browse files
Disable microsoft/go build telemetry (#8481) (#8593)
* Disable microsoft/go build telemetry * Pass env var to FIPS integration tests (cherry picked from commit 8803a02) Co-authored-by: Michel Laterman <[email protected]>
1 parent 67ed9db commit 5c8cfa3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.buildkite/bk.integration-fips.pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
env:
44
ASDF_MAGE_VERSION: 1.14.0
5+
MS_GOTOOLCHAIN_TELEMETRY_ENABLED: "0"
56

67
IMAGE_UBUNTU_2404_X86_64: "platform-ingest-elastic-agent-ubuntu-2404-1749862860"
78
IMAGE_UBUNTU_X86_64_FIPS: "platform-ingest-elastic-agent-ubuntu-2204-fips-1749862860"

dev-tools/packaging/packages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ settings:
4040
cgo: true
4141
env:
4242
GOEXPERIMENT: systemcrypto
43+
MS_GOTOOLCHAIN_TELEMETRY_ENABLED: "0"
4344
tags:
4445
- requirefips
4546
- ms_tls13kdf

magefile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ func (Build) WindowsArchiveRootBinary() error {
338338
// there is no actual FIPS relevance for this particular binary
339339
// but better safe than sorry
340340
args.ExtraFlags = append(args.ExtraFlags, "-tags=requirefips,ms_tls13kdf")
341+
args.Env["MS_GOTOOLCHAIN_TELEMETRY_ENABLED"] = "0"
341342
args.CGO = true
342343
}
343344

0 commit comments

Comments
 (0)