From 3cf877e5854d89c5778eef119bd52c511994dcb7 Mon Sep 17 00:00:00 2001 From: Vytenis Darulis Date: Thu, 12 Nov 2020 14:34:54 -0500 Subject: [PATCH] Revert "Bump go to 1.14 (#2853)" (#2885) We'll upgrade Go runtime immediately after 1.0 release, we're still waiting on a few more end users to sign off on performance under Go 1.14 (we'll likely move directly to evaluating performance under Go 1.15 with end users instead). --- .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 4d8569d0e8..b435db97ea 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.14.x + GIMME_GO_VERSION: 1.13.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.14.x + GIMME_GO_VERSION: 1.13.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.14.x + GIMME_GO_VERSION: 1.13.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.14.x + GIMME_GO_VERSION: 1.13.x plugins: gopath-checkout#v1.0.1: import: github.com/m3db/m3 diff --git a/Makefile b/Makefile index 92943d6670..f4e3531e55 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.14 -GO_RELEASER_DOCKER_IMAGE := goreleaser/goreleaser:v0.141.0 +# GO_RELEASER_DOCKER_IMAGE is latest goreleaser for go 1.13 +GO_RELEASER_DOCKER_IMAGE := goreleaser/goreleaser:v0.127.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 36aa185329..5097f20e75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ app: - image: golang:1.14-stretch + image: golang:1.13-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 a423bc03ac..b637388c29 100644 --- a/docker/m3aggregator/Dockerfile +++ b/docker/m3aggregator/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3collector/Dockerfile b/docker/m3collector/Dockerfile index e19f4da382..f0e55b9930 100644 --- a/docker/m3collector/Dockerfile +++ b/docker/m3collector/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3coordinator/Dockerfile b/docker/m3coordinator/Dockerfile index eba6c1bf7e..675183b68d 100644 --- a/docker/m3coordinator/Dockerfile +++ b/docker/m3coordinator/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3dbnode/Dockerfile b/docker/m3dbnode/Dockerfile index d85a4d7138..de6ca6e830 100644 --- a/docker/m3dbnode/Dockerfile +++ b/docker/m3dbnode/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3dbnode/Dockerfile-setcap b/docker/m3dbnode/Dockerfile-setcap index 49d8bffafe..a2b7463d27 100644 --- a/docker/m3dbnode/Dockerfile-setcap +++ b/docker/m3dbnode/Dockerfile-setcap @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps diff --git a/docker/m3query/Dockerfile b/docker/m3query/Dockerfile index bd548db079..58a6d8fe8a 100644 --- a/docker/m3query/Dockerfile +++ b/docker/m3query/Dockerfile @@ -1,5 +1,5 @@ # stage 1: build -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.13-alpine3.11 AS builder LABEL maintainer="The M3DB Authors " # Install deps