Use Go 1.13.8 to build official packages (#7079)
This commit is contained in:
parent
f263b7ce59
commit
8acf276afe
|
@ -6,12 +6,12 @@ defaults:
|
||||||
GOFLAGS: -p=8
|
GOFLAGS: -p=8
|
||||||
go-1_12: &go-1_12
|
go-1_12: &go-1_12
|
||||||
docker:
|
docker:
|
||||||
- image: 'quay.io/influxdb/telegraf-ci:1.12.14'
|
- image: 'quay.io/influxdb/telegraf-ci:1.12.17'
|
||||||
environment:
|
environment:
|
||||||
GO111MODULE: 'on'
|
GO111MODULE: 'on'
|
||||||
go-1_13: &go-1_13
|
go-1_13: &go-1_13
|
||||||
docker:
|
docker:
|
||||||
- image: 'quay.io/influxdb/telegraf-ci:1.13.5'
|
- image: 'quay.io/influxdb/telegraf-ci:1.13.8'
|
||||||
mac: &mac
|
mac: &mac
|
||||||
macos:
|
macos:
|
||||||
xcode: 11.3.1
|
xcode: 11.3.1
|
||||||
|
@ -19,7 +19,7 @@ defaults:
|
||||||
environment:
|
environment:
|
||||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
GOFLAGS: -p=8
|
GOFLAGS: -p=8
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
deps:
|
deps:
|
||||||
|
@ -104,7 +104,7 @@ jobs:
|
||||||
- run: 'make'
|
- run: 'make'
|
||||||
- run: 'make check'
|
- run: 'make check'
|
||||||
- run: 'make test'
|
- run: 'make test'
|
||||||
|
|
||||||
package:
|
package:
|
||||||
<<: [ *defaults, *go-1_13 ]
|
<<: [ *defaults, *go-1_13 ]
|
||||||
steps:
|
steps:
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -141,10 +141,10 @@ plugin-%:
|
||||||
|
|
||||||
.PHONY: ci-1.13
|
.PHONY: ci-1.13
|
||||||
ci-1.13:
|
ci-1.13:
|
||||||
docker build -t quay.io/influxdb/telegraf-ci:1.13.5 - < scripts/ci-1.13.docker
|
docker build -t quay.io/influxdb/telegraf-ci:1.13.8 - < scripts/ci-1.13.docker
|
||||||
docker push quay.io/influxdb/telegraf-ci:1.13.5
|
docker push quay.io/influxdb/telegraf-ci:1.13.8
|
||||||
|
|
||||||
.PHONY: ci-1.12
|
.PHONY: ci-1.12
|
||||||
ci-1.12:
|
ci-1.12:
|
||||||
docker build -t quay.io/influxdb/telegraf-ci:1.12.14 - < scripts/ci-1.12.docker
|
docker build -t quay.io/influxdb/telegraf-ci:1.12.17 - < scripts/ci-1.12.docker
|
||||||
docker push quay.io/influxdb/telegraf-ci:1.12.14
|
docker push quay.io/influxdb/telegraf-ci:1.12.17
|
||||||
|
|
|
@ -8,7 +8,7 @@ cache:
|
||||||
clone_folder: C:\gopath\src\github.com\influxdata\telegraf
|
clone_folder: C:\gopath\src\github.com\influxdata\telegraf
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOVERSION: 1.13.5
|
GOVERSION: 1.13.8
|
||||||
GOPATH: C:\gopath
|
GOPATH: C:\gopath
|
||||||
|
|
||||||
platform: x64
|
platform: x64
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.12.14
|
FROM golang:1.12.17
|
||||||
|
|
||||||
RUN chmod -R 755 "$GOPATH"
|
RUN chmod -R 755 "$GOPATH"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.13.5
|
FROM golang:1.13.8
|
||||||
|
|
||||||
RUN chmod -R 755 "$GOPATH"
|
RUN chmod -R 755 "$GOPATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue