From 81abc5f120d4db6ab2a21985a982e25906a33da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=22BKC=22=20Carlb=C3=A4cker?= Date: Sat, 9 Dec 2017 01:00:58 +0100 Subject: [PATCH 1/4] Update source installation requirements We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then --- docs/content/doc/installation/from-source.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md index a6686d8bd8eb2..5088a54f05f53 100644 --- a/docs/content/doc/installation/from-source.en-us.md +++ b/docs/content/doc/installation/from-source.en-us.md @@ -17,7 +17,7 @@ menu: We won't cover the basics of a Golang setup within this guide. If you don't know how to get the environment up and running you should follow the official [install instructions](https://golang.org/doc/install). -**Note**: Go version 1.7 or higher is required +**Note**: Go version 1.8 or higher is required ## Download From bdeea5f90f42efd1542c9bf5f9e6cc67966079d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=22BKC=22=20Carlb=C3=A4cker?= Date: Sat, 9 Dec 2017 01:10:42 +0100 Subject: [PATCH 2/4] Use Golang 1.8 for build and test If we state Golang 1.8 we should test using that version as well --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index e168f280a8182..ddaf850312d2a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,7 +56,7 @@ pipeline: event: [ push, tag, pull_request ] build: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true environment: TAGS: bindata sqlite @@ -74,7 +74,7 @@ pipeline: event: [ push, tag, pull_request ] test: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true group: test environment: @@ -87,7 +87,7 @@ pipeline: branch: [ master ] test: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true group: test environment: @@ -100,7 +100,7 @@ pipeline: # Commented until db locking have been resolved! # test-sqlite: - # image: webhippie/golang:edge + # image: webhippie/golang:1.8 # pull: true # group: test # environment: @@ -112,7 +112,7 @@ pipeline: # event: [ push, tag, pull_request ] test-mysql: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true group: test environment: @@ -125,7 +125,7 @@ pipeline: branch: [ master ] test-mysql: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true group: test environment: @@ -137,7 +137,7 @@ pipeline: event: [ tag ] test-pgsql: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true group: test environment: From a2d97331cda65110f03f3d01d85b09f841878a59 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Tue, 16 Jan 2018 13:17:27 +0200 Subject: [PATCH 3/4] Use golang 1.8 only for single build to see if everything compiles --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 17f88160e4bab..2317e3b6555ea 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,7 +56,7 @@ pipeline: event: [ push, tag, pull_request ] build-without-gcc: - image: webhippie/golang:edge + image: webhippie/golang:1.8 pull: true environment: GOPATH: /srv/app @@ -66,7 +66,7 @@ pipeline: event: [ push, tag, pull_request ] build: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true environment: TAGS: bindata sqlite @@ -84,7 +84,7 @@ pipeline: event: [ push, tag, pull_request ] test: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true group: test environment: @@ -97,7 +97,7 @@ pipeline: branch: [ master ] test: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true group: test environment: @@ -135,7 +135,7 @@ pipeline: # event: [ push, tag, pull_request ] test-mysql: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true group: test environment: @@ -148,7 +148,7 @@ pipeline: branch: [ master ] test-mysql: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true group: test environment: @@ -160,7 +160,7 @@ pipeline: event: [ tag ] test-pgsql: - image: webhippie/golang:1.8 + image: webhippie/golang:edge pull: true group: test environment: From 5a88ce3229816820423cb4c0fa7d1079c3af921f Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Tue, 16 Jan 2018 13:18:10 +0200 Subject: [PATCH 4/4] Change back edge also for commented out sqlite test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2317e3b6555ea..cac0c38706c3c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -123,7 +123,7 @@ pipeline: # Commented until db locking have been resolved! # test-sqlite: - # image: webhippie/golang:1.8 + # image: webhippie/golang:edge # pull: true # group: test # environment: