diff options
author | Vladimir Shushlin <vshushlin@gitlab.com> | 2020-06-19 14:12:22 +0300 |
---|---|---|
committer | Vladimir Shushlin <vshushlin@gitlab.com> | 2020-06-19 14:12:22 +0300 |
commit | 437eb21ea6c573a500948925b9fd67934418943d (patch) | |
tree | f32e6ac11e3bd20733c0ec26d0e52aba789779ae | |
parent | 0099e7a37a6d396d81e97b05c961322128b63eeb (diff) | |
parent | d1e1276446ed1af6d2cdb0a7730423b96025de78 (diff) |
Merge branch 'enable-continuous-profiling' into 'master'
Set the continuous_profiler_stackdriver build tag
See merge request gitlab-org/gitlab-pages!297
-rw-r--r-- | Makefile.build.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index 9cfcf69b..10a1a80f 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -1,5 +1,7 @@ GOLANGCI_LINT_VERSION := v1.27.0 # version used by $GOLANGCI_LINT_IMAGE +GO_BUILD_TAGS := continuous_profiler_stackdriver + .PHONY: all setup generate-mocks build clean all: gitlab-pages @@ -13,7 +15,7 @@ generate-mocks: .GOPATH/.ok $Q bin/mockgen -source=internal/interface.go -destination=internal/mocks/mocks.go -package=mocks build: .GOPATH/.ok - $Q go install $(if $V,-v) $(VERSION_FLAGS) -buildmode exe $(IMPORT_PATH) + $Q go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) clean: $Q rm -rf bin .GOPATH gitlab-pages |