File tree Expand file tree Collapse file tree
presubmit_test/pr_perf_test
containerize_gcsfuse_docker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module github.com/googlecloudplatform/gcsfuse/v2
22
3- go 1.22.0
3+ go 1.23.12
44
55require (
66 cloud.google.com/go/compute/metadata v0.5.0
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ NUM_EPOCHS=80
1818TEST_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
2222rm -rf /usr/local/go && tar -C /usr/local -xzf go_tar.tar.gz
2323export PATH=$PATH :/usr/local/go/bin
2424
Original file line number Diff line number Diff line change 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
99sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
1010export PATH=$PATH :/usr/local/go/bin
1111
Original file line number Diff line number Diff line change 3737sudo apt-get update
3838echo Installing git
3939sudo 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
4242sudo rm -rf /usr/local/go && tar -xzf go_tar.tar.gz && sudo mv go /usr/local
4343export PATH=$PATH :/usr/local/go/bin
4444export CGO_ENABLED=0
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GRO
6464cd -
6565
6666# Install and validate go.
67- version=1.22.4
67+ version=1.23.12
6868wget -O go_tar.tar.gz https://go.dev/dl/go${version} .linux-amd64.tar.gz -q
6969sudo rm -rf /usr/local/go
7070tar -xzf go_tar.tar.gz && sudo mv go /usr/local
Original file line number Diff line number Diff line change 111111fi
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
115115sudo tar -C /usr/local -xzf go_tar.tar.gz
116116export PATH=${PATH}:/usr/local/go/bin
117117#Write gcsfuse and go version to log file
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ARG OS_VERSION
3434ARG 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
3939RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm fuse && gem install --no-document bundler
4040
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ function upgrade_gcloud_version() {
100100function 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.
Original file line number Diff line number Diff line change 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
2222RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm && gem install --no-document bundler
2323
You can’t perform that action at this time.
0 commit comments