Browse Source

ci: Upgrade Go to 1.14.1

pull/7481/head
Daniel Nephin 5 years ago
parent
commit
c5b7c072fd
  1. 2
      .circleci/config.yml
  2. 9
      .github/CONTRIBUTING.md
  3. 2
      build-support/docker/Build-Go.dockerfile
  4. 2
      build-support/docker/Test-Flake.dockerfile

2
.circleci/config.yml

@ -3,7 +3,7 @@ version: 2
references: references:
images: images:
go: &GOLANG_IMAGE circleci/golang:1.13.7 go: &GOLANG_IMAGE circleci/golang:1.14.1
middleman: &MIDDLEMAN_IMAGE hashicorp/middleman-hashicorp:0.3.40 middleman: &MIDDLEMAN_IMAGE hashicorp/middleman-hashicorp:0.3.40
ember: &EMBER_IMAGE circleci/node:8-browsers ember: &EMBER_IMAGE circleci/node:8-browsers

9
.github/CONTRIBUTING.md

@ -60,12 +60,11 @@ issue. Stale issues will be closed.
## Building Consul ## Building Consul
If you wish to work on Consul itself, you'll first need [Go](https://golang.org) If you wish to work on Consul itself, you'll first need [Go](https://golang.org)
installed (version 1.13 is _required_). Make sure you have Go properly installed, installed (version 1.14 is _required_).
including setting up your [GOPATH](https://golang.org/doc/code.html#GOPATH).
Next, clone this repository into `$GOPATH/src/github.com/hashicorp/consul` and
then run `make dev`. In a few moments, you'll have a working `consul` executable Next, clone this repository and then run `make dev`. In a few moments, you'll have a working
in `consul/bin` and `$GOPATH/bin`: `consul` executable in `consul/bin` and `$GOPATH/bin`:
>Note: `make dev` will build for your local machine's os/architecture. If you wish to build for all os/architecture combinations use `make`. >Note: `make dev` will build for your local machine's os/architecture. If you wish to build for all os/architecture combinations use `make`.

2
build-support/docker/Build-Go.dockerfile

@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.13.7 ARG GOLANG_VERSION=1.14.1
FROM golang:${GOLANG_VERSION} FROM golang:${GOLANG_VERSION}
ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \ ARG GOTOOLS="github.com/elazarl/go-bindata-assetfs/... \

2
build-support/docker/Test-Flake.dockerfile

@ -1,6 +1,6 @@
FROM travisci/ci-garnet:packer-1512502276-986baf0 FROM travisci/ci-garnet:packer-1512502276-986baf0
ENV GOLANG_VERSION 1.13.7 ENV GOLANG_VERSION 1.14.1
RUN mkdir -p /home/travis/go && chown -R travis /home/travis/go RUN mkdir -p /home/travis/go && chown -R travis /home/travis/go

Loading…
Cancel
Save