diff --git a/Earthfile b/Earthfile index fe24ac3b..ca6b7a1e 100644 --- a/Earthfile +++ b/Earthfile @@ -248,7 +248,7 @@ lint: test: FROM +deps - ARG KUBERNETES_VERSION=1.24.x + ARG KUBERNETES_VERSION=1.26.x COPY +gotools/bin/setup-envtest $BINPATH COPY +envoy/envoy $BINPATH # install envtest in its own layer @@ -263,11 +263,9 @@ test: eval "$GO_TEST ./..." test-multiple-k8s-versions: - BUILD +test --KUBERNETES_VERSION=1.23.5 - BUILD +test --KUBERNETES_VERSION=1.24.2 - BUILD +test --KUBERNETES_VERSION=1.25.0 - BUILD +test --KUBERNETES_VERSION=1.26.1 - BUILD +test --KUBERNETES_VERSION=1.27.1 + BUILD +test --KUBERNETES_VERSION=1.25.x + BUILD +test --KUBERNETES_VERSION=1.26.x + BUILD +test --KUBERNETES_VERSION=1.27.x list-available-k8s-envtest-versions: FROM +deps diff --git a/go.mod b/go.mod index a67aad96..acb9a455 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/envoyproxy/go-control-plane v0.12.0 github.com/go-logr/logr v1.4.1 github.com/golang/protobuf v1.5.3 - github.com/gophercloud/gophercloud v1.8.0 + github.com/gophercloud/gophercloud v1.11.0 github.com/gophercloud/utils v0.0.0-20231010081019-80377eca5d56 github.com/onsi/ginkgo/v2 v2.15.0 github.com/onsi/gomega v1.31.1 diff --git a/go.sum b/go.sum index 8b25a0ab..093274cc 100644 --- a/go.sum +++ b/go.sum @@ -68,8 +68,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gophercloud/gophercloud v1.3.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM= -github.com/gophercloud/gophercloud v1.8.0 h1:TM3Jawprb2NrdOnvcHhWJalmKmAmOGgfZElM/3oBYCk= -github.com/gophercloud/gophercloud v1.8.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM= +github.com/gophercloud/gophercloud v1.11.0 h1:ls0O747DIq1D8SUHc7r2vI8BFbMLeLFuENaAIfEx7OM= +github.com/gophercloud/gophercloud v1.11.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM= github.com/gophercloud/utils v0.0.0-20231010081019-80377eca5d56 h1:sH7xkTfYzxIEgzq1tDHIMKRh1vThOEOGNsettdEeLbE= github.com/gophercloud/utils v0.0.0-20231010081019-80377eca5d56/go.mod h1:VSalo4adEk+3sNkmVJLnhHoOyOYYS8sTWLG4mv5BKto= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=