about summary refs log tree commit diff
path: root/.buildkite/build.sh
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-22T15·56+0100
committerFlorian Klink <flokli@flokli.de>2019-11-22T18·51+0100
commitfecbf8b3e2efd4ba8c2e33159269000db2fbe1da (patch)
tree10918c8f1fccca80aa0b1b5b5467c096c728b8fc /.buildkite/build.sh
parent9c36bb0e6c9f11db207ab34e545eb1de956bc806 (diff)
WIP: build binary and container
Diffstat (limited to '.buildkite/build.sh')
-rwxr-xr-x.buildkite/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.buildkite/build.sh b/.buildkite/build.sh
new file mode 100755
index 000000000000..0a218c817ee5
--- /dev/null
+++ b/.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