From 8db6d9b989bea601ee44e85fc94334328b9542ce Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 23 Jul 2017 22:03:08 +0200 Subject: [PATCH] Replace gobuilder as build tool Signed-off-by: Knut Ahlers --- .gobuilder.yml | 4 ---- .repo-runner.yaml | 10 ++++++++++ Makefile | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 .gobuilder.yml create mode 100644 .repo-runner.yaml diff --git a/.gobuilder.yml b/.gobuilder.yml deleted file mode 100644 index 2777a30..0000000 --- a/.gobuilder.yml +++ /dev/null @@ -1,4 +0,0 @@ -build_matrix: - general: - ldflags: - - "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..4f26639 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /go/src/github.com/Luzifer/elb-instance-status + +commands: + - make publish + +environment: + CGO_ENABLED: 0 diff --git a/Makefile b/Makefile index a44ded0..9338123 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ -ci: +publish: curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh bash golang.sh