feat: move to go 1.24 (#1313)

* feat: move to go 1.24

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: docker image tag

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

---------

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
This commit is contained in:
Alessio Pragliola 2025-07-14 21:02:37 +02:00 committed by GitHub
parent 89b97016d8
commit 47374731d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 11 additions and 11 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.24"
- name: Set up Python
uses: actions/setup-python@v5
with:

View File

@ -14,7 +14,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23.6"
go-version: "1.24.4"
- name: Generate MySQL DB schema structs
run: make gen/gorm/mysql
- name: Check if there are uncommitted file changes
@ -34,7 +34,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23.6"
go-version: "1.24.4"
- name: Generate PostgreSQL DB schema structs
run: make gen/gorm/postgres
- name: Check if there are uncommitted file changes

View File

@ -1,5 +1,5 @@
# Build the model-registry binary
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.23 AS common
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.24.4 AS common
ARG TARGETOS
ARG TARGETARCH

View File

@ -1,5 +1,5 @@
# Build the model-registry binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.4 AS builder
WORKDIR /workspace
# Copy the Go Modules manifests

View File

@ -45,7 +45,7 @@ Model registry provides a central repository for model developers to store and m
8. [UI](clients/ui/README.md)
## Pre-requisites:
- go >= 1.23
- go >= 1.24
- 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

View File

@ -1,5 +1,5 @@
# Build the model-registry CSI binary
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.24.4 AS builder
ARG TARGETOS
ARG TARGETARCH

View File

@ -2,7 +2,7 @@
## Requirements
- Go >= 1.23
- Go >= 1.24
- Helm >= 3.16.1
- Python >= 3.8
- Node >= 20

View File

@ -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.23
* Go >= 1.24
Install it using:

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/kubeflow/model-registry
go 1.23.6
go 1.24.4
require (
github.com/go-chi/chi/v5 v5.2.2

View File

@ -1,6 +1,6 @@
module github.com/kubeflow/model-registry/gorm-gen
go 1.23.4
go 1.24.4
require (
github.com/spf13/cobra v1.9.1