about summary refs log tree commit diff
path: root/third_party/gerrit-queue/.buildkite/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gerrit-queue/.buildkite/build.sh')
-rwxr-xr-xthird_party/gerrit-queue/.buildkite/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/gerrit-queue/.buildkite/build.sh b/third_party/gerrit-queue/.buildkite/build.sh
new file mode 100755
index 000000000000..0a218c817ee5
--- /dev/null
+++ b/third_party/gerrit-queue/.buildkite/build.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+export GOPATH=~/go
+go generate
+CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -ldflags '-extldflags \"-static\"' -o gerrit-queue