Skip to content

Commit cba60b4

Browse files
authored
golang: update go to 1.13.7 (#506)
1 parent 25363e5 commit cba60b4

File tree

5 files changed

+33
-70
lines changed

5 files changed

+33
-70
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Build the manager binary
16-
FROM golang:1.12.9 as builder
16+
FROM golang:1.13.7 as builder
1717
WORKDIR /workspace
1818

1919
# Run this with docker build --build_arg $(go env GOPROXY) to override the goproxy

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/cluster-api-provider-openstack
22

3-
go 1.12
3+
go 1.13
44

55
require (
66
github.com/go-logr/logr v0.1.0

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EOF
3131
local go_version
3232
IFS=" " read -ra go_version <<< "$(go version)"
3333
local minimum_go_version
34-
minimum_go_version=go1.12.1
34+
minimum_go_version=go1.13.0
3535
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
3636
cat <<EOF
3737
Detected go version: ${go_version[*]}.

hack/tools/go.mod

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
module sigs.k8s.io/cluster-api/hack/tools
22

3-
go 1.12
3+
go 1.13
44

55
require (
66
github.com/golang/mock v1.3.1
7-
github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 // indirect
87
github.com/golangci/golangci-lint v1.19.1
9-
github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 // indirect
10-
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
11-
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
128
sigs.k8s.io/controller-tools v0.2.0
139
sigs.k8s.io/kustomize/kustomize/v3 v3.4.0
1410
sigs.k8s.io/testing_frameworks v0.1.1

0 commit comments

Comments
 (0)