Skip to content

Commit

Permalink
Merge branch 'master' of github.com:elastic/beats into fix/uninstall-…
Browse files Browse the repository at this point in the history
…lower
  • Loading branch information
michalpristas committed Feb 11, 2021
2 parents 4a4e61d + 3ce47ca commit 9e87734
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-tools/mage/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ var (
XPackDir = "../x-pack"
RaceDetector = false
TestCoverage = false
PLATFORMS = EnvOr("PLATFORMS", "")
PACKAGES = EnvOr("PACKAGES", "")

// CrossBuildMountModcache, if true, mounts $GOPATH/pkg/mod into
// the crossbuild images at /go/pkg/mod, read-only.
Expand Down Expand Up @@ -160,6 +162,8 @@ func varMap(args ...map[string]interface{}) map[string]interface{} {
"GOARCH": GOARCH,
"GOARM": GOARM,
"Platform": Platform,
"PLATFORMS": PLATFORMS,
"PACKAGES": PACKAGES,
"BinaryExt": BinaryExt,
"XPackDir": XPackDir,
"BeatName": BeatName,
Expand Down Expand Up @@ -203,6 +207,8 @@ BeatLicense = {{.BeatLicense}}
BeatURL = {{.BeatURL}}
BeatUser = {{.BeatUser}}
VersionQualifier = {{.Qualifier}}
PLATFORMS = {{.PLATFORMS}}
PACKAGES = {{.PACKAGES}}
## Functions
Expand Down

0 comments on commit 9e87734

Please sign in to comment.