mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Update to Go 1.21 (#2796)
* Update Go build to 1.21. * Update machine images to Ubuntu 22.04 current. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
381f32b1c5
commit
cda1d820bb
|
@ -7,10 +7,10 @@ executors:
|
|||
# should also be updated.
|
||||
golang:
|
||||
docker:
|
||||
- image: cimg/go:1.20
|
||||
- image: cimg/go:1.21
|
||||
arm:
|
||||
machine:
|
||||
image: ubuntu-2004:current
|
||||
image: ubuntu-2204:current
|
||||
resource_class: arm.medium
|
||||
|
||||
jobs:
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
- run: git diff --exit-code
|
||||
build:
|
||||
machine:
|
||||
image: ubuntu-2004:202101-01
|
||||
image: ubuntu-2204:current
|
||||
parallelism: 3
|
||||
steps:
|
||||
- prometheus/setup_environment
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
destination: /build
|
||||
test_docker:
|
||||
machine:
|
||||
image: ubuntu-2204:2022.04.2
|
||||
image: ubuntu-2204:current
|
||||
environment:
|
||||
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.18-base
|
||||
REPO_PATH: github.com/prometheus/node_exporter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
go:
|
||||
# Whenever the Go version is updated here, .circle/config.yml and
|
||||
# .promu.yml should also be updated.
|
||||
version: 1.20
|
||||
version: 1.21
|
||||
cgo: true
|
||||
repository:
|
||||
path: github.com/prometheus/node_exporter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
go:
|
||||
# Whenever the Go version is updated here, .circle/config.yml and
|
||||
# .promu-cgo.yml should also be updated.
|
||||
version: 1.20
|
||||
version: 1.21
|
||||
repository:
|
||||
path: github.com/prometheus/node_exporter
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue