Merge pull request #5106 from mloiseleur/chore/go-1.24

chore: upgrade ExternalDNS to go 1.24
This commit is contained in:
Kubernetes Prow Robot 2025-02-20 03:46:27 -08:00 committed by GitHub
commit f09124c952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ jobs:
with:
verify: true
args: --timeout=30m
version: v1.63
version: v1.64
# Run Spectral
- name: Lint OpenAPI spec

View File

@ -37,7 +37,7 @@ endif
#? golangci-lint: Install golangci-lint tool
golangci-lint:
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.63.4
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5
#? golangci-lint-verify: Verify golangci-lint configuration
golangci-lint-verify: golangci-lint

View File

@ -4,7 +4,7 @@ options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'
steps:
- name: 'docker.io/library/golang:1.23-bookworm'
- name: 'docker.io/library/golang:1.24-bookworm'
entrypoint: make
env:
- VERSION=$_GIT_TAG

View File

@ -7,7 +7,7 @@ The `external-dns` is the work of thousands of contributors, and is maintained b
Building and/or testing `external-dns` requires additional tooling.
- [Git](https://git-scm.com/downloads)
- [Go 1.23+](https://golang.org/dl/)
- [Go 1.24+](https://golang.org/dl/)
- [Go modules](https://github.com/golang/go/wiki/Modules)
- [golangci-lint](https://github.com/golangci/golangci-lint)
- [ko](https://ko.build/)

2
go.mod
View File

@ -1,6 +1,6 @@
module sigs.k8s.io/external-dns
go 1.23.5
go 1.24.0
require (
cloud.google.com/go/compute/metadata v0.6.0

View File

@ -24,7 +24,7 @@ import (
"github.com/stretchr/testify/assert"
)
func TestzonesCache(t *testing.T) {
func TestZonesCache(t *testing.T) {
now := time.Now()
zoneName := "example.com"
var testCases = map[string]struct {