From d5e3fbd2ea01fdc56c94e71bc92602fe2bc53f67 Mon Sep 17 00:00:00 2001 From: Alessio Pragliola Date: Tue, 7 Jan 2025 15:39:46 +0100 Subject: [PATCH] chore(go): bump golang version to 1.22 Signed-off-by: Alessio Pragliola --- .github/workflows/build.yml | 2 +- README.md | 4 ++-- docs/mr_go_library.md | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ccc89b4..81386c2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Set up Python uses: actions/setup-python@v5 with: diff --git a/README.md b/README.md index 37ae9588..92f390b2 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Model registry provides a central repository for model developers to store and m 8. [UI](.clients/ui/README.md) ## Pre-requisites: -- go >= 1.21 +- go >= 1.22 - protoc v24.3 - [Protocol Buffers v24.3 Release](https://github.com/protocolbuffers/protobuf/releases/tag/v24.3) - npm >= 10.2.0 - [Installing Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - Java >= 11.0 @@ -173,7 +173,7 @@ To delete something, simply update its status. ## Tips ### Pull image rate limiting -Ocassionally you may encounter an 'ImagePullBackOff' error when deploying the Model Registry manifests. See example below for the `model-registry-db` container. +Ocassionally you may encounter an 'ImagePullBackOff' error when deploying the Model Registry manifests. See example below for the `model-registry-db` container. ``` Failed to pull image “mysql:8.3.0”: rpc error: code = Unknown desc = fetching target platform image selected from image index: reading manifest sha256:f9097d95a4ba5451fff79f4110ea6d750ac17ca08840f1190a73320b84ca4c62 in docker.io/library/mysql: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit diff --git a/docs/mr_go_library.md b/docs/mr_go_library.md index e5c99d9e..5c0f9919 100644 --- a/docs/mr_go_library.md +++ b/docs/mr_go_library.md @@ -15,7 +15,7 @@ This includes models, model versions, artifacts, serving environments, inference ### Prerequisites * [MLMD server](https://github.com/google/ml-metadata/blob/f0fef74eae2bdf6650a79ba976b36bea0b777c2e/g3doc/get_started.md#use-mlmd-with-a-remote-grpc-server) -* Go >= 1.21 +* Go >= 1.22 Install it using: diff --git a/go.mod b/go.mod index 823874a6..cd68def3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kubeflow/model-registry -go 1.21 +go 1.22 require ( github.com/go-chi/chi/v5 v5.1.0