From beb64770803196a54f606fae7152528776c8da91 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 20 Jun 2019 13:29:51 -0700 Subject: [PATCH] Drop support for Go 1.9 (#6026) --- .circleci/config.yml | 23 ----------------------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f068ae108..df25a3749 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,6 @@ defaults: defaults: &defaults working_directory: '/go/src/github.com/influxdata/telegraf' - go-1_9: &go-1_9 - docker: - - image: 'quay.io/influxdb/telegraf-ci:1.9.7' go-1_10: &go-1_10 docker: - image: 'quay.io/influxdb/telegraf-ci:1.10.8' @@ -35,14 +32,6 @@ jobs: paths: - '*' - test-go-1.9: - <<: [ *defaults, *go-1_9 ] - steps: - - attach_workspace: - at: '/go/src' - # disabled due to gofmt differences (1.10 vs 1.11). - #- run: 'make check' - - run: 'make test' test-go-1.10: <<: [ *defaults, *go-1_10 ] steps: @@ -109,12 +98,6 @@ workflows: filters: tags: only: /.*/ - - 'test-go-1.9': - requires: - - 'deps' - filters: - tags: - only: /.*/ - 'test-go-1.10': requires: - 'deps' @@ -141,14 +124,12 @@ workflows: only: /.*/ - 'package': requires: - - 'test-go-1.9' - 'test-go-1.10' - 'test-go-1.11' - 'test-go-1.12' - 'test-go-1.12-386' - 'release': requires: - - 'test-go-1.9' - 'test-go-1.10' - 'test-go-1.11' - 'test-go-1.12' @@ -161,9 +142,6 @@ workflows: nightly: jobs: - 'deps' - - 'test-go-1.9': - requires: - - 'deps' - 'test-go-1.10': requires: - 'deps' @@ -178,7 +156,6 @@ workflows: - 'deps' - 'nightly': requires: - - 'test-go-1.9' - 'test-go-1.10' - 'test-go-1.11' - 'test-go-1.12' diff --git a/README.md b/README.md index 3fed264ae..86f34738a 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ Ansible role: https://github.com/rossmcdonald/telegraf ### From Source: -Telegraf requires golang version 1.9 or newer, the Makefile requires GNU make. +Telegraf requires golang version 1.10 or newer, the Makefile requires GNU make. -1. [Install Go](https://golang.org/doc/install) >=1.9 (1.11 recommended) +1. [Install Go](https://golang.org/doc/install) >=1.10 (1.12 recommended) 2. [Install dep](https://golang.github.io/dep/docs/installation.html) ==v0.5.0 3. Download Telegraf source: ```