Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

bump version of go to 1.19 #4972

Merged
merged 4 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#build stage
FROM golang:1.17-alpine AS builder
FROM golang:1.19-alpine AS builder

RUN apk update
RUN apk add --no-cache make
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GIT_SHA=$$(git rev-parse HEAD)
BUILD_DATE_VAR := github.com/openservicemesh/osm/pkg/version.BuildDate
BUILD_VERSION_VAR := github.com/openservicemesh/osm/pkg/version.Version
BUILD_GITCOMMIT_VAR := github.com/openservicemesh/osm/pkg/version.GitCommit
DOCKER_GO_VERSION = 1.17
DOCKER_GO_VERSION = 1.19
DOCKER_BUILDX_PLATFORM ?= linux/$(shell go env GOARCH)
# Value for the --output flag on docker buildx build.
# https://docs.docker.com/engine/reference/commandline/buildx_build/#output
Expand Down
2 changes: 1 addition & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## System Requirements
- MacOS, Linux or WSL2 on Windows
- GCC
- Go version [1.17.0 or higher](https://github.com/openservicemesh/osm/issues/2363)
- Go version [1.19.0 or higher](https://github.com/openservicemesh/osm/issues/2363)
- Kubectl version 1.15 or higher
- Docker CLI
- on a Debian based GNU/Linux system: `sudo apt-get install docker`
Expand Down
2 changes: 1 addition & 1 deletion docs/development_guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ OSM leverages [Envoy proxy](https://github.com/envoyproxy/envoy) as a data plane

## Get Go-ing

This Open Service Mesh project uses [Go v1.17.0+](https://golang.org/). If you are not familiar with Go, spend some time with the excellent [Tour of Go](https://tour.golang.org/).
This Open Service Mesh project uses [Go v1.19.0+](https://golang.org/). If you are not familiar with Go, spend some time with the excellent [Tour of Go](https://tour.golang.org/).

## Get the dependencies

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openservicemesh/osm

go 1.17
go 1.19

require (
github.com/AlekSi/gocov-xml v0.0.0-20190121064608-3a14fb1c4737
Expand Down
381 changes: 0 additions & 381 deletions go.sum

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pkg/gen/client/config/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pkg/gen/client/config/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pkg/gen/client/policy/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pkg/gen/client/policy/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pkg/trafficpolicy/trafficpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
hashstructure "github.com/mitchellh/hashstructure/v2"

policyv1alpha1 "github.com/openservicemesh/osm/pkg/apis/policy/v1alpha1"

"github.com/openservicemesh/osm/pkg/constants"
"github.com/openservicemesh/osm/pkg/service"
)
Expand Down