Update Go to v1.16.6 (#9542)
This commit is contained in:
parent
754b7ff4c1
commit
a1dae0d2c1
|
|
@ -13,7 +13,7 @@ executors:
|
||||||
go-1_16:
|
go-1_16:
|
||||||
working_directory: '/go/src/github.com/influxdata/telegraf'
|
working_directory: '/go/src/github.com/influxdata/telegraf'
|
||||||
docker:
|
docker:
|
||||||
- image: 'quay.io/influxdb/telegraf-ci:1.16.5'
|
- image: 'quay.io/influxdb/telegraf-ci:1.16.6'
|
||||||
environment:
|
environment:
|
||||||
GOFLAGS: -p=8
|
GOFLAGS: -p=8
|
||||||
mac:
|
mac:
|
||||||
|
|
@ -150,7 +150,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- check-changed-files-or-halt-windows
|
- check-changed-files-or-halt-windows
|
||||||
- run: choco upgrade golang --version=1.16.5
|
- run: choco upgrade golang --version=1.16.6
|
||||||
- run: choco install make
|
- run: choco install make
|
||||||
- run: git config --system core.longpaths true
|
- run: git config --system core.longpaths true
|
||||||
- run: make test-windows
|
- run: make test-windows
|
||||||
|
|
@ -448,4 +448,4 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -201,8 +201,8 @@ ci-1.15:
|
||||||
|
|
||||||
.PHONY: ci-1.16
|
.PHONY: ci-1.16
|
||||||
ci-1.16:
|
ci-1.16:
|
||||||
docker build -t quay.io/influxdb/telegraf-ci:1.16.5 - < scripts/ci-1.16.docker
|
docker build -t quay.io/influxdb/telegraf-ci:1.16.6 - < scripts/ci-1.16.docker
|
||||||
docker push quay.io/influxdb/telegraf-ci:1.16.5
|
docker push quay.io/influxdb/telegraf-ci:1.16.6
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(buildbin)
|
install: $(buildbin)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.16.5 as builder
|
FROM golang:1.16.6 as builder
|
||||||
WORKDIR /go/src/github.com/influxdata/telegraf
|
WORKDIR /go/src/github.com/influxdata/telegraf
|
||||||
|
|
||||||
COPY . /go/src/github.com/influxdata/telegraf
|
COPY . /go/src/github.com/influxdata/telegraf
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.16.5-buster as builder
|
FROM golang:1.16.6-buster as builder
|
||||||
WORKDIR /go/src/github.com/influxdata/telegraf
|
WORKDIR /go/src/github.com/influxdata/telegraf
|
||||||
|
|
||||||
COPY . /go/src/github.com/influxdata/telegraf
|
COPY . /go/src/github.com/influxdata/telegraf
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.16.5
|
FROM golang:1.16.6
|
||||||
|
|
||||||
RUN chmod -R 755 "$GOPATH"
|
RUN chmod -R 755 "$GOPATH"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
GO_ARCH="darwin-amd64"
|
GO_ARCH="darwin-amd64"
|
||||||
GO_VERSION="1.16.5"
|
GO_VERSION="1.16.6"
|
||||||
GO_VERSION_SHA="be761716d5bfc958a5367440f68ba6563509da2f539ad1e1864bd42fe553f277" # from https://golang.org/dl
|
GO_VERSION_SHA="e4e83e7c6891baa00062ed37273ce95835f0be77ad8203a29ec56dbf3d87508a" # from https://golang.org/dl
|
||||||
|
|
||||||
# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)
|
# This path is cachable. (Saving in /usr/local/ would cause issues restoring the cache.)
|
||||||
path="/usr/local/Cellar"
|
path="/usr/local/Cellar"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue