Skip to content

Commit b1d89d6

Browse files
authored
Merge pull request kubernetes#93939 from justaugustus/go115
[go1.15] Update to go1.15
2 parents 6704af4 + aa2bb18 commit b1d89d6

File tree

7 files changed

+15
-23
lines changed

7 files changed

+15
-23
lines changed

build/build-image/cross/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.15.0-rc.2-1
1+
v1.15.0-1

build/dependencies.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
# Bazel
33
- name: "repo-infra"
4-
version: 0.0.11
4+
version: 0.0.12
55
refPaths:
66
- path: build/root/WORKSPACE
77
match: strip_prefix = "repo-infra-\d+.\d+.\d+"
@@ -82,21 +82,17 @@ dependencies:
8282
- path: cluster/images/etcd/migrate/options.go
8383

8484
# Golang
85-
- name: "golang"
86-
version: 1.15.0-rc.2
85+
- name: "golang: upstream version"
86+
version: 1.15
8787
refPaths:
8888
- path: build/build-image/cross/VERSION
8989
- path: build/root/WORKSPACE
90-
match: (override_)?go_version = "((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)"
91-
92-
- name: "golang: upstream container image"
93-
version: 1.15rc2
94-
refPaths:
90+
match: (override_)?go_version = "\d+.\d+(alpha|beta|rc)?\.?\d+"
9591
- path: test/images/Makefile
9692
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+
9793

9894
- name: "k8s.gcr.io/kube-cross: dependents"
99-
version: v1.15.0-rc.2-1
95+
version: v1.15.0-1
10096
refPaths:
10197
- path: build/build-image/cross/VERSION
10298
- path: test/images/sample-apiserver/Dockerfile

build/root/WORKSPACE

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ workspace(name = "io_k8s_kubernetes")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
44
load("//build:workspace_mirror.bzl", "mirror")
55

6-
# TODO(go1.15): Update once we've published a repo-infra release that supports go1.15
76
http_archive(
87
name = "io_k8s_repo_infra",
9-
strip_prefix = "repo-infra-0.0.11",
10-
sha256 = "93da34ad63b1f95db22980becfef7d1cae6f99a84bdd16467edf68956d4288bb",
8+
strip_prefix = "repo-infra-0.0.12",
9+
sha256 = "e309a655a5b04fd76b6e950b3371aa8636bb929f2860a7ec22fa9b4b0b7c8236",
1110
urls = [
12-
"https://github.com/kubernetes/repo-infra/archive/v0.0.11.tar.gz",
11+
"https://github.com/kubernetes/repo-infra/archive/v0.0.12.tar.gz",
1312
],
1413
)
1514

@@ -24,10 +23,7 @@ load("@io_k8s_repo_infra//:repos.bzl", repo_infra_configure = "configure", repo_
2423
# 'override_go_version': used to specify an alternate go version provided
2524
# by kubernetes/repo-infra
2625
repo_infra_configure(
27-
# TODO(go1.15): Uncomment once we've published a repo-infra release that supports go1.15
28-
#go_version = "1.15.0",
29-
# TODO(go1.15): Comment out once we've published a repo-infra release that supports go1.15
30-
override_go_version = "1.15.0-rc.2",
26+
go_version = "1.15",
3127
minimum_bazel_version = "2.2.0",
3228
)
3329

hack/tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ require (
1111
gotest.tools v2.2.0+incompatible
1212
gotest.tools/gotestsum v0.3.5
1313
honnef.co/go/tools v0.0.1-2020.1.4
14-
k8s.io/repo-infra v0.0.11
14+
k8s.io/repo-infra v0.0.12
1515
)

hack/tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK
708708
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
709709
k8s.io/klog/v2 v2.3.0 h1:WmkrnW7fdrm0/DMClc+HIxtftvxVIPAhlVwMQo5yLco=
710710
k8s.io/klog/v2 v2.3.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
711-
k8s.io/repo-infra v0.0.11 h1:cSxJ7c6qIG4ImjsaJEQ2+FZnh6CbV7x9yz3je6Mme4k=
712-
k8s.io/repo-infra v0.0.11/go.mod h1:WfvjbUCy0f1fsyHq6sF825VYMfAh9pQdkYCa35OZRJc=
711+
k8s.io/repo-infra v0.0.12 h1:i5NvQE7KU7Ky/YkJZPLZJKBDTNgf4ncNXz17XC8uZIE=
712+
k8s.io/repo-infra v0.0.12/go.mod h1:WfvjbUCy0f1fsyHq6sF825VYMfAh9pQdkYCa35OZRJc=
713713
mvdan.cc/gofumpt v0.0.0-20200709182408-4fd085cb6d5f/go.mod h1:9VQ397fNXEnF84t90W4r4TRCQK+pg9f8ugVfyj+S26w=
714714
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=
715715
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc=

test/images/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REGISTRY ?= gcr.io/kubernetes-e2e-test-images
1616
GOARM ?= 7
1717
DOCKER_CERT_BASE_PATH ?=
1818
QEMUVERSION=v2.9.1
19-
GOLANG_VERSION=1.15rc2
19+
GOLANG_VERSION=1.15.0
2020
export
2121

2222
ifndef WHAT

test/images/sample-apiserver/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
ARG BASEIMAGE
16-
FROM k8s.gcr.io/build-image/kube-cross:v1.15.0-rc.2-1 as build_k8s_1_17_sample_apiserver
16+
FROM k8s.gcr.io/build-image/kube-cross:v1.15.0-1 as build_k8s_1_17_sample_apiserver
1717

1818
ENV GOPATH /go
1919
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin

0 commit comments

Comments
 (0)