Skip to content

Commit dfa0b4f

Browse files
authored
chore(all): update Go to 1.23 in postprocessor and profiler (#11620)
1 parent 93edc82 commit dfa0b4f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="1-1.22-bullseye"
1+
ARG VARIANT="1-1.23-bullseye"
22
FROM mcr.microsoft.com/devcontainers/go:${VARIANT}
33

44
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/go
33
{
4-
"name": "Go 1.22.0",
4+
"name": "Go 1.23.0",
55
"build": {
66
"dockerfile": "Dockerfile"
77
},

internal/postprocessor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.22 as builder
15+
FROM golang:1.23 as builder
1616

1717
# Copy local code to the container image.
1818
COPY . /postprocessor/

internal/postprocessor/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const (
4545
// This is the default Go version that will be generated into new go.mod
4646
// files. It should be updated every time we drop support for old Go
4747
// versions.
48-
defaultGoModuleVersion = "1.22.7"
48+
defaultGoModuleVersion = "1.23.0"
4949
)
5050

5151
var (

profiler/kokoro/integration_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_KEYSTORE_DIR}/72935_cloud-profil
3636
export GCLOUD_TESTS_GOLANG_PROJECT_ID="cloud-profiler-e2e"
3737

3838
# Ensure a newer version of Go is used so it is compatible with newer libraries.
39-
# Here we install v1.22.10 which is the current version as of January 2025.
40-
GOVERSION="1.22.10"
39+
# Here we install v1.23.0 which is the current earliest version as of February 2025.
40+
GOVERSION="1.23.0"
4141
retry curl -LO https://go.dev/dl/go${GOVERSION}.linux-amd64.tar.gz
4242
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go${GOVERSION}.linux-amd64.tar.gz
4343
export PATH=$PATH:/usr/local/go/bin

0 commit comments

Comments
 (0)