Drop CI support for Go 1.8 (#4309)

Go 1.8 is no longer a supported version and the circleci/golang images
has been removed.
This commit is contained in:
Daniel Nelson 2018-06-17 18:50:14 -07:00 committed by GitHub
parent 0b68ae09d7
commit cc63c25549
2 changed files with 3 additions and 20 deletions

View File

@ -2,15 +2,12 @@
defaults: defaults:
defaults: &defaults defaults: &defaults
working_directory: '/go/src/github.com/influxdata/telegraf' working_directory: '/go/src/github.com/influxdata/telegraf'
go-1_8: &go-1_8
docker:
- image: 'circleci/golang:1.8.7'
go-1_9: &go-1_9 go-1_9: &go-1_9
docker: docker:
- image: 'circleci/golang:1.9.5' - image: 'circleci/golang:1.9.7'
go-1_10: &go-1_10 go-1_10: &go-1_10
docker: docker:
- image: 'circleci/golang:1.10.1' - image: 'circleci/golang:1.10.3'
version: 2 version: 2
jobs: jobs:
@ -23,12 +20,6 @@ jobs:
root: '/go/src' root: '/go/src'
paths: paths:
- '*' - '*'
test-go-1.8:
<<: [ *defaults, *go-1_8 ]
steps:
- attach_workspace:
at: '/go/src'
- run: 'make test-ci'
test-go-1.9: test-go-1.9:
<<: [ *defaults, *go-1_9 ] <<: [ *defaults, *go-1_9 ]
steps: steps:
@ -66,9 +57,6 @@ workflows:
build_and_release: build_and_release:
jobs: jobs:
- 'deps' - 'deps'
- 'test-go-1.8':
requires:
- 'deps'
- 'test-go-1.9': - 'test-go-1.9':
requires: requires:
- 'deps' - 'deps'
@ -77,15 +65,11 @@ workflows:
- 'deps' - 'deps'
- 'release': - 'release':
requires: requires:
- 'test-go-1.8'
- 'test-go-1.9' - 'test-go-1.9'
- 'test-go-1.10' - 'test-go-1.10'
nightly: nightly:
jobs: jobs:
- 'deps' - 'deps'
- 'test-go-1.8':
requires:
- 'deps'
- 'test-go-1.9': - 'test-go-1.9':
requires: requires:
- 'deps' - 'deps'
@ -94,7 +78,6 @@ workflows:
- 'deps' - 'deps'
- 'nightly': - 'nightly':
requires: requires:
- 'test-go-1.8'
- 'test-go-1.9' - 'test-go-1.9'
- 'test-go-1.10' - 'test-go-1.10'
triggers: triggers:

View File

@ -40,7 +40,7 @@ Ansible role: https://github.com/rossmcdonald/telegraf
### From Source: ### From Source:
Telegraf requires golang version 1.8+, the Makefile requires GNU make. Telegraf requires golang version 1.9 or newer, the Makefile requires GNU make.
Dependencies are managed with [gdm](https://github.com/sparrc/gdm), Dependencies are managed with [gdm](https://github.com/sparrc/gdm),
which is installed by the Makefile if you don't have it already. which is installed by the Makefile if you don't have it already.