Skip to content

Commit 773a2ba

Browse files
committed
Update for Go 1.16
* Drop /vendor. Signed-off-by: Ben Kochie <[email protected]>
1 parent 676a8aa commit 773a2ba

File tree

1,370 files changed

+5
-800511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,370 files changed

+5
-800511
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
version: 2.1
33

44
orbs:
5-
prometheus: prometheus/prometheus@0.8.0
5+
prometheus: prometheus/prometheus@0.11.0
66

77
executors:
88
# This must match .promu.yml.
99
golang:
1010
docker:
11-
- image: circleci/golang:1.15
11+
- image: circleci/golang:1.16
1212

1313
jobs:
1414
test:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
*.tar.gz
66
*.test
77
*-stamp
8+
/vendor

.golangci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
run:
3-
modules-download-mode: vendor
4-
52
issues:
63
exclude-rules:
74
- path: _test.go

.promu.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
go:
22
# This must match .circle/config.yml.
3-
version: 1.15
3+
version: 1.16
44
repository:
55
path: github.com/prometheus-community/stackdriver_exporter
66
build:
77
binaries:
88
- name: stackdriver_exporter
9-
flags: -mod=vendor -a -tags 'netgo static_build'
9+
flags: -a -tags 'netgo static_build'
1010
ldflags: |
1111
-X github.com/prometheus/common/version.Version={{.Version}}
1212
-X github.com/prometheus/common/version.Revision={{.Revision}}

go.sum

-63
Large diffs are not rendered by default.

vendor/cloud.google.com/go/LICENSE

-202
This file was deleted.

0 commit comments

Comments
 (0)