Skip to content

Commit ee9a1bc

Browse files
committed
fix(vul 2.4.0): upgrade go lang from 1.22.0 to 1.23.12
1 parent 43282a9 commit ee9a1bc

9 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/googlecloudplatform/gcsfuse/v2
22

3-
go 1.22.0
3+
go 1.23.12
44

55
require (
66
cloud.google.com/go/compute/metadata v0.5.0

‎perfmetrics/scripts/ml_tests/pytorch/run_model.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NUM_EPOCHS=80
1818
TEST_BUCKET="gcsfuse-ml-data"
1919

2020
# Install golang
21-
wget -O go_tar.tar.gz https://go.dev/dl/go1.22.4.linux-amd64.tar.gz -q
21+
wget -O go_tar.tar.gz https://go.dev/dl/go1.23.12.linux-amd64.tar.gz -q
2222
rm -rf /usr/local/go && tar -C /usr/local -xzf go_tar.tar.gz
2323
export PATH=$PATH:/usr/local/go/bin
2424

‎perfmetrics/scripts/ml_tests/tf/resnet/setup_scripts/setup_container.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22

3-
# Installs go1.22.4 on the container, builds gcsfuse using log_rotation file
3+
# Installs go1.23.12 on the container, builds gcsfuse using log_rotation file
44
# and installs tf-models-official v2.13.2, makes update to include clear_kernel_cache
55
# and epochs functionality, and runs the model
66

77
# Install go lang
8-
wget -O go_tar.tar.gz https://go.dev/dl/go1.22.4.linux-amd64.tar.gz -q
8+
wget -O go_tar.tar.gz https://go.dev/dl/go1.23.12.linux-amd64.tar.gz -q
99
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
1010
export PATH=$PATH:/usr/local/go/bin
1111

‎perfmetrics/scripts/presubmit_test/pr_perf_test/build.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ set -e
3737
sudo apt-get update
3838
echo Installing git
3939
sudo apt-get install git
40-
echo Installing go-lang 1.22.4
41-
wget -O go_tar.tar.gz https://go.dev/dl/go1.22.4.linux-amd64.tar.gz -q
40+
echo Installing go-lang 1.23.12
41+
wget -O go_tar.tar.gz https://go.dev/dl/go1.23.12.linux-amd64.tar.gz -q
4242
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
4343
export PATH=$PATH:/usr/local/go/bin
4444
export CGO_ENABLED=0

‎perfmetrics/scripts/read_cache/setup.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GRO
6464
cd -
6565

6666
# Install and validate go.
67-
version=1.22.4
67+
version=1.23.12
6868
wget -O go_tar.tar.gz https://go.dev/dl/go${version}.linux-amd64.tar.gz -q
6969
sudo rm -rf /usr/local/go
7070
tar -xzf go_tar.tar.gz && sudo mv go /usr/local

‎tools/cd_scripts/e2e_test.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ else
111111
fi
112112
113113
# install go
114-
wget -O go_tar.tar.gz https://go.dev/dl/go1.22.4.linux-${architecture}.tar.gz
114+
wget -O go_tar.tar.gz https://go.dev/dl/go1.23.12.linux-${architecture}.tar.gz
115115
sudo tar -C /usr/local -xzf go_tar.tar.gz
116116
export PATH=${PATH}:/usr/local/go/bin
117117
#Write gcsfuse and go version to log file

‎tools/containerize_gcsfuse_docker/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG OS_VERSION
3434
ARG OS_NAME
3535

3636
# Image with gcsfuse installed and its package (.deb)
37-
FROM golang:1.22.4 as gcsfuse-package
37+
FROM golang:1.23.12 as gcsfuse-package
3838

3939
RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm fuse && gem install --no-document bundler
4040

‎tools/integration_tests/run_e2e_tests.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ function upgrade_gcloud_version() {
100100
function install_packages() {
101101
# e.g. architecture=arm64 or amd64
102102
architecture=$(dpkg --print-architecture)
103-
echo "Installing go-lang 1.22.4..."
104-
wget -O go_tar.tar.gz https://go.dev/dl/go1.22.4.linux-${architecture}.tar.gz -q
103+
echo "Installing go-lang 1.23.12..."
104+
wget -O go_tar.tar.gz https://go.dev/dl/go1.23.12.linux-${architecture}.tar.gz -q
105105
sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
106106
export PATH=$PATH:/usr/local/go/bin
107107
# install python3-setuptools tools.

‎tools/package_gcsfuse_docker/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Copy the gcsfuse packages to the host:
1818
# > docker run -it -v /tmp:/output gcsfuse-release cp -r /packages /output
1919

20-
FROM golang:1.22.4 as builder
20+
FROM golang:1.23.12 as builder
2121

2222
RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm && gem install --no-document bundler
2323

0 commit comments

Comments
 (0)