mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-17 22:58:53 +00:00
upgrade to golang1.19 (#163)
Signed-off-by: Yang Le <yangle@redhat.com> Signed-off-by: Yang Le <yangle@redhat.com>
This commit is contained in:
2
.github/workflows/go-postsubmit.yml
vendored
2
.github/workflows/go-postsubmit.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
# Common versions
|
||||
GO_VERSION: '1.18'
|
||||
GO_VERSION: '1.19'
|
||||
GO_REQUIRED_MIN_VERSION: ''
|
||||
GOPATH: '/home/runner/work/work/work/go'
|
||||
defaults:
|
||||
|
||||
2
.github/workflows/go-presubmit.yml
vendored
2
.github/workflows/go-presubmit.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
env:
|
||||
# Common versions
|
||||
GO_VERSION: '1.18'
|
||||
GO_VERSION: '1.19'
|
||||
GO_REQUIRED_MIN_VERSION: ''
|
||||
GOPATH: '/home/runner/work/work/work/go'
|
||||
defaults:
|
||||
|
||||
2
.github/workflows/go-release.yml
vendored
2
.github/workflows/go-release.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
- 'v*.*.*'
|
||||
env:
|
||||
# Common versions
|
||||
GO_VERSION: '1.18'
|
||||
GO_VERSION: '1.19'
|
||||
GO_REQUIRED_MIN_VERSION: ''
|
||||
GOPATH: '/home/runner/work/work/work/go'
|
||||
GITHUB_REF: ${{ github.ref }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.18 AS builder
|
||||
FROM golang:1.19 AS builder
|
||||
ARG OS=linux
|
||||
ARG ARCH=amd64
|
||||
WORKDIR /go/src/open-cluster-management.io/work
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module open-cluster-management.io/work
|
||||
|
||||
go 1.18
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1
|
||||
|
||||
@@ -43,10 +43,10 @@ func TestE2e(t *testing.T) {
|
||||
|
||||
// This suite is sensitive to the following environment variables:
|
||||
//
|
||||
// - IMAGE_NAME sets the exact image to deploy for the work agent
|
||||
// - IMAGE_REGISTRY sets the image registry to use to build the IMAGE_NAME if
|
||||
// IMAGE_NAME is unset: IMAGE_REGISTRY/work:latest
|
||||
// - KUBECONFIG is the location of the kubeconfig file to use
|
||||
// - IMAGE_NAME sets the exact image to deploy for the work agent
|
||||
// - IMAGE_REGISTRY sets the image registry to use to build the IMAGE_NAME if
|
||||
// IMAGE_NAME is unset: IMAGE_REGISTRY/work:latest
|
||||
// - KUBECONFIG is the location of the kubeconfig file to use
|
||||
var _ = ginkgo.BeforeSuite(func() {
|
||||
logf.SetLogger(zap.New(zap.WriteTo(ginkgo.GinkgoWriter), zap.UseDevMode(true)))
|
||||
workImage = os.Getenv("IMAGE_NAME")
|
||||
|
||||
Reference in New Issue
Block a user