From 19706820dc2b3df889ae085cde7f6c61dc8e355d Mon Sep 17 00:00:00 2001 From: weizhoublue <45163302+weizhoublue@users.noreply.github.com> Date: Wed, 12 Feb 2025 20:04:12 +0000 Subject: [PATCH] robot updated golang version Signed-off-by: weizhoublue --- .github/workflows/auto-upgrade-ci.yaml | 2 +- .github/workflows/e2e-init.yaml | 2 +- .github/workflows/lint-golang.yaml | 6 +++--- Makefile.version | 2 +- go.mod | 2 +- images/spiderpool-agent/Dockerfile | 2 +- images/spiderpool-base/Dockerfile | 2 +- images/spiderpool-controller/Dockerfile | 2 +- images/spiderpool-plugins/Dockerfile | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/auto-upgrade-ci.yaml b/.github/workflows/auto-upgrade-ci.yaml index 9bb1606e0..4d016794d 100644 --- a/.github/workflows/auto-upgrade-ci.yaml +++ b/.github/workflows/auto-upgrade-ci.yaml @@ -202,7 +202,7 @@ jobs: - name: Setup Golang uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 - name: Install Tools run: | diff --git a/.github/workflows/e2e-init.yaml b/.github/workflows/e2e-init.yaml index 4aec1f801..e4c37cc4b 100644 --- a/.github/workflows/e2e-init.yaml +++ b/.github/workflows/e2e-init.yaml @@ -96,7 +96,7 @@ jobs: - name: Setup Golang uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 - name: Install Tools run: | diff --git a/.github/workflows/lint-golang.yaml b/.github/workflows/lint-golang.yaml index c81bf0334..a262eac8c 100644 --- a/.github/workflows/lint-golang.yaml +++ b/.github/workflows/lint-golang.yaml @@ -82,7 +82,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 - name: Checkout code uses: actions/checkout@v4 @@ -138,7 +138,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 - name: Checkout code uses: actions/checkout@v4 @@ -192,7 +192,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.23.6 + go-version: 1.24.0 - name: Checkout code uses: actions/checkout@v4 diff --git a/Makefile.version b/Makefile.version index c2956bb48..7eb8a1b95 100644 --- a/Makefile.version +++ b/Makefile.version @@ -1,2 +1,2 @@ -GO_VERSION := 1.23.6 +GO_VERSION := 1.24.0 GINKGO_VERSION := 2.1.3 diff --git a/go.mod b/go.mod index fa1ff3897..5dfd27f04 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/spidernet-io/spiderpool -go 1.23 +go 1.24 require ( github.com/agiledragon/gomonkey/v2 v2.11.0 diff --git a/images/spiderpool-agent/Dockerfile b/images/spiderpool-agent/Dockerfile index b002350a0..8df4625be 100644 --- a/images/spiderpool-agent/Dockerfile +++ b/images/spiderpool-agent/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:163aca9e9d927363fa80aca7d9721b379671a790 -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:4546829ecda4404596cf5c9d8936488283910a3564ffc8fe4f32b33ddaeff239 #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder diff --git a/images/spiderpool-base/Dockerfile b/images/spiderpool-base/Dockerfile index bfdf62049..25dd52411 100644 --- a/images/spiderpool-base/Dockerfile +++ b/images/spiderpool-base/Dockerfile @@ -3,7 +3,7 @@ # docker buildx build -t testbase:latest --platform=linux/arm64,linux/amd64 --output type=docker . -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:4546829ecda4404596cf5c9d8936488283910a3564ffc8fe4f32b33ddaeff239 ARG UBUNTU_IMAGE=docker.io/library/ubuntu:20.04@sha256:bea6d19168bbfd6af8d77c2cc3c572114eb5d113e6f422573c93cb605a0e2ffb diff --git a/images/spiderpool-controller/Dockerfile b/images/spiderpool-controller/Dockerfile index 9805f6e13..75b0af726 100644 --- a/images/spiderpool-controller/Dockerfile +++ b/images/spiderpool-controller/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:163aca9e9d927363fa80aca7d9721b379671a790 -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:4546829ecda4404596cf5c9d8936488283910a3564ffc8fe4f32b33ddaeff239 #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder diff --git a/images/spiderpool-plugins/Dockerfile b/images/spiderpool-plugins/Dockerfile index 396cbf841..427616ef0 100644 --- a/images/spiderpool-plugins/Dockerfile +++ b/images/spiderpool-plugins/Dockerfile @@ -1,7 +1,7 @@ # Copyright 2023 Authors of spidernet-io # SPDX-License-Identifier: Apache-2.0 -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:4546829ecda4404596cf5c9d8936488283910a3564ffc8fe4f32b33ddaeff239 #======= build plugins ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder