Upgrade go version to 1.19 (#5446)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
This commit is contained in:
4
.github/workflows/e2e-test.yml
vendored
4
.github/workflows/e2e-test.yml
vendored
@@ -13,10 +13,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.18
|
||||
- name: Set up Go 1.19
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: 1.19
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
|
||||
4
.github/workflows/nightly-builds.yml
vendored
4
.github/workflows/nightly-builds.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.18
|
||||
- name: Set up Go 1.19
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: 1.19
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# that can be found in the LICENSE file.
|
||||
|
||||
# Build
|
||||
FROM golang:1.18.4 as build_context
|
||||
FROM golang:1.19.4 as build_context
|
||||
|
||||
ENV OUTDIR=/out
|
||||
RUN mkdir -p ${OUTDIR}/usr/local/bin/
|
||||
|
||||
@@ -22,7 +22,7 @@ RUN mv /tmp/ingress-nginx ${OUTDIR}/var/helm-charts/
|
||||
|
||||
# Build
|
||||
|
||||
FROM golang:1.18.4 as build_context
|
||||
FROM golang:1.19.4 as build_context
|
||||
|
||||
ENV OUTDIR=/out
|
||||
RUN mkdir -p ${OUTDIR}/usr/local/bin/
|
||||
|
||||
2
go.mod
2
go.mod
@@ -6,7 +6,7 @@
|
||||
|
||||
module kubesphere.io/kubesphere
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
code.cloudfoundry.org/bytefmt v0.0.0-20190710193110-1eb035ffe2b6
|
||||
|
||||
@@ -9,6 +9,7 @@ rules:
|
||||
branch: master
|
||||
dir: staging/src/kubesphere.io/client-go
|
||||
name: master
|
||||
go: 1.19.4
|
||||
- source:
|
||||
branch: release-3.1
|
||||
dir: staging/src/kubesphere.io/client-go
|
||||
@@ -22,7 +23,7 @@ rules:
|
||||
branch: master
|
||||
dir: staging/src/kubesphere.io/api
|
||||
name: master
|
||||
go: 1.18.9
|
||||
go: 1.19.4
|
||||
|
||||
smoke-test: |
|
||||
# assumes GO111MODULE=on
|
||||
@@ -36,4 +37,4 @@ rules:
|
||||
branch: master
|
||||
dir: staging/src/kubesphere.io/utils
|
||||
name: master
|
||||
go: 1.18.9
|
||||
go: 1.19.4
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module kubesphere.io/api
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/go-logr/logr v1.2.3
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module kubesphere.io/client-go
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/go-resty/resty/v2 v2.5.0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module kubesphere.io/utils
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
|
||||
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
@@ -2300,7 +2300,7 @@ k8s.io/utils/strings
|
||||
k8s.io/utils/strings/slices
|
||||
k8s.io/utils/trace
|
||||
# kubesphere.io/api v0.0.0 => ./staging/src/kubesphere.io/api
|
||||
## explicit; go 1.18
|
||||
## explicit; go 1.19
|
||||
kubesphere.io/api/alerting/v2beta1
|
||||
kubesphere.io/api/application/crdinstall
|
||||
kubesphere.io/api/application/v1alpha1
|
||||
@@ -2327,7 +2327,7 @@ kubesphere.io/api/tenant/v1alpha2
|
||||
kubesphere.io/api/types/v1beta1
|
||||
kubesphere.io/api/types/v1beta2
|
||||
# kubesphere.io/client-go v0.0.0 => ./staging/src/kubesphere.io/client-go
|
||||
## explicit; go 1.18
|
||||
## explicit; go 1.19
|
||||
kubesphere.io/client-go/client
|
||||
kubesphere.io/client-go/client/generic
|
||||
kubesphere.io/client-go/restclient
|
||||
|
||||
Reference in New Issue
Block a user