From 55e6e44bd28ee9f80c8f6120147c15daa82193f8 Mon Sep 17 00:00:00 2001 From: Vytenis Darulis Date: Sat, 7 Nov 2020 13:27:08 -0500 Subject: [PATCH] Bump go to 1.14 (#2853) --- .buildkite/pipeline.yml | 8 ++++---- Makefile | 4 ++-- docker-compose.yml | 2 +- docker/m3aggregator/Dockerfile | 2 +- docker/m3collector/Dockerfile | 2 +- docker/m3coordinator/Dockerfile | 2 +- docker/m3dbnode/Dockerfile | 2 +- docker/m3dbnode/Dockerfile-setcap | 2 +- docker/m3query/Dockerfile | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index b435db97ea..4d8569d0e8 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -14,7 +14,7 @@ steps: command: make clean install-vendor-m3 test-all-gen env: CGO_ENABLED: 0 - GIMME_GO_VERSION: 1.13.x + GIMME_GO_VERSION: 1.14.x plugins: gopath-checkout#v1.0.1: import: github.com/m3db/m3 @@ -56,7 +56,7 @@ steps: parallelism: 2 env: CGO_ENABLED: 0 - GIMME_GO_VERSION: 1.13.x + GIMME_GO_VERSION: 1.14.x plugins: gopath-checkout#v1.0.1: import: github.com/m3db/m3 @@ -66,7 +66,7 @@ steps: parallelism: 1 env: CGO_ENABLED: 0 - GIMME_GO_VERSION: 1.13.x + GIMME_GO_VERSION: 1.14.x plugins: gopath-checkout#v1.0.1: import: github.com/m3db/m3 @@ -99,7 +99,7 @@ steps: command: make clean install-vendor-m3 docs-test env: CGO_ENABLED: 0 - GIMME_GO_VERSION: 1.13.x + GIMME_GO_VERSION: 1.14.x plugins: gopath-checkout#v1.0.1: import: github.com/m3db/m3 diff --git a/Makefile b/Makefile index f4e3531e55..92943d6670 100644 --- a/Makefile +++ b/Makefile @@ -38,8 +38,8 @@ GO_BUILD_LDFLAGS_CMD := $(abspath ./scripts/go-build-ldflags.sh) GO_BUILD_LDFLAGS := $(shell $(GO_BUILD_LDFLAGS_CMD) LDFLAG) GO_BUILD_COMMON_ENV := CGO_ENABLED=0 LINUX_AMD64_ENV := GOOS=linux GOARCH=amd64 $(GO_BUILD_COMMON_ENV) -# GO_RELEASER_DOCKER_IMAGE is latest goreleaser for go 1.13 -GO_RELEASER_DOCKER_IMAGE := goreleaser/goreleaser:v0.127.0 +# GO_RELEASER_DOCKER_IMAGE is latest goreleaser for go 1.14 +GO_RELEASER_DOCKER_IMAGE := goreleaser/goreleaser:v0.141.0 GO_RELEASER_RELEASE_ARGS ?= --rm-dist GO_RELEASER_WORKING_DIR := /go/src/github.com/m3db/m3 diff --git a/docker-compose.yml b/docker-compose.yml index 5097f20e75..36aa185329 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ app: - image: golang:1.13-stretch + image: golang:1.14-stretch volumes: - .:/go/src/github.com/m3db/m3 - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent diff --git a/docker/m3aggregator/Dockerfile b/docker/m3aggregator/Dockerfile index b637388c29..a423bc03ac 100644 --- a/docker/m3aggregator/Dockerfile +++ b/docker/m3aggregator/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3collector/Dockerfile b/docker/m3collector/Dockerfile index f0e55b9930..e19f4da382 100644 --- a/docker/m3collector/Dockerfile +++ b/docker/m3collector/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3coordinator/Dockerfile b/docker/m3coordinator/Dockerfile index 675183b68d..eba6c1bf7e 100644 --- a/docker/m3coordinator/Dockerfile +++ b/docker/m3coordinator/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3dbnode/Dockerfile b/docker/m3dbnode/Dockerfile index de6ca6e830..d85a4d7138 100644 --- a/docker/m3dbnode/Dockerfile +++ b/docker/m3dbnode/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3dbnode/Dockerfile-setcap b/docker/m3dbnode/Dockerfile-setcap index a2b7463d27..49d8bffafe 100644 --- a/docker/m3dbnode/Dockerfile-setcap +++ b/docker/m3dbnode/Dockerfile-setcap @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3query/Dockerfile b/docker/m3query/Dockerfile index 58a6d8fe8a..bd548db079 100644 --- a/docker/m3query/Dockerfile +++ b/docker/m3query/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.13-alpine3.11 AS builder +FROM golang:1.14-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps