Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go version to 1.22 #1036

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
strategy:
matrix:
go: ['1.21', '1.22']
go: ['1.22', '1.23']
# Build all variants regardless of failures
fail-fast: false

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

### Fixed

- Fix IP choice for CloudLab clusters to use the internal network interface for control plane communication.
- Fix disk issues on CloudLab profiles after restart.
- Bump Go to 1.22.

## Release v1.7.1

### Added
Expand Down
2 changes: 1 addition & 1 deletion configs/setup/system.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"GoVersion": "1.21.9",
"GoVersion": "1.22.9",
"GoDownloadUrlTemplate": "https://go.dev/dl/go%s.linux-%s.tar.gz",
"ContainerdVersion": "1.6.18",
"ContainerdDownloadUrlTemplate": "https://github.com/containerd/containerd/releases/download/v%s/containerd-%s-linux-%s.tar.gz",
Expand Down
2 changes: 1 addition & 1 deletion docs/knative/update_kn.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide describes how to make changes to Knative Serving and use the changed
wget -qO- https://github.com/google/ko/releases/download/v0.15.1/ko_0.15.1_Linux_x86_64.tar.gz | sudo tar -C /usr/bin/ -xz ko
sudo chmod +x /usr/bin/ko
```
2. Install `go` (1.21 or later).
2. Install `go` (1.22 or later).
3. Install `git`; already installed on CloudLab.
4. Login to Docker Hub account that the Knative images will be pushed to.
```sh
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ SSD-equipped nodes are highly recommended. Full list of CloudLab nodes can be fo

### 4. Go Installation

If you intend to build the setup scripts from source, you need to install go by running: (This will install version `1.21.1`. You can configure the version to install in `configs/setup/system.json` as `GoVersion`)
If you intend to build the setup scripts from source, you need to install go by running: (This will install version `1.22.9`. You can configure the version to install in `configs/setup/system.json` as `GoVersion`)
```bash
./scripts/install_go.sh; source /etc/profile
```

Another option is to install using official instructions: [https://golang.org/doc/install](https://golang.org/doc/install). Note that the version should be at least `1.21`.
Another option is to install using official instructions: [https://golang.org/doc/install](https://golang.org/doc/install). Note that the version should be at least `1.22`.

- Confirm the installation:
```bash
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vhive-serverless/vhive

go 1.21
go 1.22.9

// Copied from firecracker-containerd
replace (
Expand Down
4 changes: 2 additions & 2 deletions go.work
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
go 1.21
go 1.22.9

use (
.
./power_manager
./scripts
./scripts/github_runner
./scripts/openyurt-deployer
./power_manager
)
7 changes: 7 additions & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A=
golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70=
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
golang.org/x/exp/shiny v0.0.0-20230801115018-d63ba01acd4b/go.mod h1:UH99kUObWAZkDnWqppdQe5ZhPYESUw8I0zVV1uWBR+0=
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
Expand Down Expand Up @@ -259,10 +263,13 @@ golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4=
golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8=
golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
2 changes: 1 addition & 1 deletion power_manager/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/vhive-serverless/vhive/power_manager

go 1.21
go 1.22.9
2 changes: 1 addition & 1 deletion scripts/github_runner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vhive-serverless/vhive/scripts/github_runner/deploy_runners

go 1.21
go 1.22.9

require (
github.com/sfreiberg/simplessh v0.0.0-20220719182921-185eafd40485
Expand Down
2 changes: 1 addition & 1 deletion scripts/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/vhive-serverless/vHive/scripts

go 1.21
go 1.22.9
2 changes: 1 addition & 1 deletion scripts/openyurt-deployer/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vhive-serverless/vhive/scripts/openyurt_deployer

go 1.21
go 1.22.9

require (
github.com/sfreiberg/simplessh v0.0.0-20220719182921-185eafd40485
Expand Down
Loading