Skip to content

Commit

Permalink
[go1.15] Update to go1.15
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
  • Loading branch information
justaugustus committed Aug 12, 2020
1 parent 5d1e299 commit aa2bb18
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build/build-image/cross/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.15.0-rc.2-1
v1.15.0-1
12 changes: 4 additions & 8 deletions build/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,17 @@ dependencies:
- path: cluster/images/etcd/migrate/options.go

# Golang
- name: "golang"
version: 1.15.0-rc.2
- name: "golang: upstream version"
version: 1.15
refPaths:
- path: build/build-image/cross/VERSION
- path: build/root/WORKSPACE
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-]+)*))?)"

- name: "golang: upstream container image"
version: 1.15rc2
refPaths:
match: (override_)?go_version = "\d+.\d+(alpha|beta|rc)?\.?\d+"
- path: test/images/Makefile
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+

- name: "k8s.gcr.io/kube-cross: dependents"
version: v1.15.0-rc.2-1
version: v1.15.0-1
refPaths:
- path: build/build-image/cross/VERSION
- path: test/images/sample-apiserver/Dockerfile
Expand Down
5 changes: 1 addition & 4 deletions build/root/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ load("@io_k8s_repo_infra//:repos.bzl", repo_infra_configure = "configure", repo_
# 'override_go_version': used to specify an alternate go version provided
# by kubernetes/repo-infra
repo_infra_configure(
# TODO(go1.15): Uncomment once we've published a repo-infra release that supports go1.15
#go_version = "1.15.0",
# TODO(go1.15): Comment out once we've published a repo-infra release that supports go1.15
override_go_version = "1.15.0-rc.2",
go_version = "1.15",
minimum_bazel_version = "2.2.0",
)

Expand Down
2 changes: 1 addition & 1 deletion test/images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ REGISTRY ?= gcr.io/kubernetes-e2e-test-images
GOARM ?= 7
DOCKER_CERT_BASE_PATH ?=
QEMUVERSION=v2.9.1
GOLANG_VERSION=1.15rc2
GOLANG_VERSION=1.15.0
export

ifndef WHAT
Expand Down
2 changes: 1 addition & 1 deletion test/images/sample-apiserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

ARG BASEIMAGE
FROM k8s.gcr.io/build-image/kube-cross:v1.15.0-rc.2-1 as build_k8s_1_17_sample_apiserver
FROM k8s.gcr.io/build-image/kube-cross:v1.15.0-1 as build_k8s_1_17_sample_apiserver

ENV GOPATH /go
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin
Expand Down

0 comments on commit aa2bb18

Please sign in to comment.