From 1358939f7b4b42e44ae5045d84275ea9f075fa67 Mon Sep 17 00:00:00 2001 From: Viacheslav Sarzhan Date: Tue, 3 Dec 2024 11:40:32 +0200 Subject: [PATCH] CLOUD-727 bump go ver to 1.23 --- Jenkinsfile | 4 ++-- build/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 416728663d..c1d9a01bf5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -347,7 +347,7 @@ EOF -v $WORKSPACE/src/github.com/percona/percona-server-mongodb-operator:/go/src/github.com/percona/percona-server-mongodb-operator \ -w /go/src/github.com/percona/percona-server-mongodb-operator \ -e GOFLAGS='-buildvcs=false' \ - golang:1.22 sh -c ' + golang:1.23 sh -c ' go install github.com/google/go-licenses@v1.6.0; /go/bin/go-licenses csv github.com/percona/percona-server-mongodb-operator/cmd/manager \ | cut -d , -f 3 \ @@ -375,7 +375,7 @@ EOF -v $WORKSPACE/src/github.com/percona/percona-server-mongodb-operator:/go/src/github.com/percona/percona-server-mongodb-operator \ -w /go/src/github.com/percona/percona-server-mongodb-operator \ -e GOFLAGS='-buildvcs=false' \ - golang:1.22 sh -c 'go build -v -o percona-server-mongodb-operator github.com/percona/percona-server-mongodb-operator/cmd/manager' + golang:1.23 sh -c 'go build -v -o percona-server-mongodb-operator github.com/percona/percona-server-mongodb-operator/cmd/manager' " ''' diff --git a/build/Dockerfile b/build/Dockerfile index bbeac50846..e8d38b55ec 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.22 AS go_builder +FROM --platform=${BUILDPLATFORM} golang:1.23 AS go_builder WORKDIR /go/src/github.com/percona/percona-server-mongodb-operator COPY go.mod go.sum ./ diff --git a/go.mod b/go.mod index dc0ff90e7e..ef6fcb54b5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/percona/percona-server-mongodb-operator -go 1.22.6 +go 1.23.3 require ( github.com/Percona-Lab/percona-version-service v0.0.0-20230216094301-f9489c81b52a