From 10ebdc348147033f278d3a2c363e51917e4e5224 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Fri, 15 Mar 2024 15:07:55 +0200 Subject: [PATCH] go.mod,build,.github,dockerfiles: bump golang version. Signed-off-by: Krisztian Litkey --- .github/workflows/project-checks.yaml | 2 +- Makefile | 2 +- cmd/config-manager/Dockerfile | 2 +- cmd/plugins/balloons/Dockerfile | 2 +- cmd/plugins/memory-qos/Dockerfile | 2 +- cmd/plugins/sgx-epc/Dockerfile | 2 +- cmd/plugins/template/Dockerfile | 2 +- cmd/plugins/topology-aware/Dockerfile | 2 +- go.mod | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/project-checks.yaml b/.github/workflows/project-checks.yaml index 0b3fa0c45..659bbd1b1 100644 --- a/.github/workflows/project-checks.yaml +++ b/.github/workflows/project-checks.yaml @@ -12,7 +12,7 @@ on: - "release-*" env: - GO_VERSION: "1.21.5" + GO_VERSION: "1.22.1" jobs: verify: diff --git a/Makefile b/Makefile index 03e0c5895..b06f1ad7f 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ GO_LINT := golint -set_exit_status GO_FMT := gofmt GO_VET := $(GO_CMD) vet GO_DEPS := $(GO_CMD) list -f '{{ join .Deps "\n" }}' -GO_VERSION ?= 1.21.5 +GO_VERSION ?= 1.22.1 GO_MODULES := $(shell $(GO_CMD) list ./...) GO_SUBPKGS := $(shell find ./pkg -name go.mod | sed 's:/go.mod::g' | grep -v testdata) diff --git a/cmd/config-manager/Dockerfile b/cmd/config-manager/Dockerfile index 2eddbed76..9b8bf4155 100644 --- a/cmd/config-manager/Dockerfile +++ b/cmd/config-manager/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as build WORKDIR /go/builder diff --git a/cmd/plugins/balloons/Dockerfile b/cmd/plugins/balloons/Dockerfile index 3c5402574..6b75d9909 100644 --- a/cmd/plugins/balloons/Dockerfile +++ b/cmd/plugins/balloons/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/memory-qos/Dockerfile b/cmd/plugins/memory-qos/Dockerfile index 32c0b72ca..e7983cb62 100644 --- a/cmd/plugins/memory-qos/Dockerfile +++ b/cmd/plugins/memory-qos/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/sgx-epc/Dockerfile b/cmd/plugins/sgx-epc/Dockerfile index 970d82acd..ae6583975 100644 --- a/cmd/plugins/sgx-epc/Dockerfile +++ b/cmd/plugins/sgx-epc/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/template/Dockerfile b/cmd/plugins/template/Dockerfile index 6b99ed05c..c86c48c96 100644 --- a/cmd/plugins/template/Dockerfile +++ b/cmd/plugins/template/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/topology-aware/Dockerfile b/cmd/plugins/topology-aware/Dockerfile index 89bee096e..00c6d1f92 100644 --- a/cmd/plugins/topology-aware/Dockerfile +++ b/cmd/plugins/topology-aware/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/go.mod b/go.mod index cde695b82..1065dfc2f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/containers/nri-plugins -go 1.21 +go 1.22 require ( contrib.go.opencensus.io/exporter/prometheus v0.4.2