Skip to content

Commit

Permalink
chore: update go to 1.18 and refactor to take advantage of some of it… (
Browse files Browse the repository at this point in the history
#2687)

* chore: update go to 1.18 and refactor to take advantage of some of its features

* chore: go fmt ./...

* chore: changes for CR
  • Loading branch information
docmerlin authored Jun 17, 2022
1 parent b69fc92 commit 83bf151
Show file tree
Hide file tree
Showing 15 changed files with 128 additions and 702 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ executors:
# NOTE: To upgrade the Go version, first push the upgrade to the cross-builder Dockerfile in the edge repo,
# then update the version here to match. Until we finish the migration to using the cross-builder image,
# you'll also need to update references to `cimg/go` and `GO_VERSION` in this file.
- image: quay.io/influxdb/cross-builder:go1.17.2-3990b5e53287dffd196048dd74b6bb0c92e1c5fa
- image: quay.io/influxdb/cross-builder:go1.18-19532d83ff625362c07ca99eee6ea2e1d6bdc22e
resource_class: large
linux-amd64:
machine:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_build_ubuntu64
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG GO_VERSION
FROM quay.io/influxdb/cross-builder:go${GO_VERSION}-41d944d749b2c130119eff7efaaa9883ccffe5a7
FROM quay.io/influxdb/cross-builder:go${GO_VERSION}-19532d83ff625362c07ca99eee6ea2e1d6bdc22e

# This dockerfile is capabable of performing all
# build/test/package/deploy actions needed for Kapacitor.
Expand Down
115 changes: 0 additions & 115 deletions circularqueue.gen.go.tmpl

This file was deleted.

214 changes: 0 additions & 214 deletions circularqueue.gen_test.go

This file was deleted.

Loading

0 comments on commit 83bf151

Please sign in to comment.