mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #93939 from justaugustus/go115
[go1.15] Update to go1.15
This commit is contained in:
commit
b1d89d67a1
@ -1 +1 @@
|
|||||||
v1.15.0-rc.2-1
|
v1.15.0-1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
# Bazel
|
# Bazel
|
||||||
- name: "repo-infra"
|
- name: "repo-infra"
|
||||||
version: 0.0.11
|
version: 0.0.12
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: build/root/WORKSPACE
|
- path: build/root/WORKSPACE
|
||||||
match: strip_prefix = "repo-infra-\d+.\d+.\d+"
|
match: strip_prefix = "repo-infra-\d+.\d+.\d+"
|
||||||
@ -82,21 +82,17 @@ dependencies:
|
|||||||
- path: cluster/images/etcd/migrate/options.go
|
- path: cluster/images/etcd/migrate/options.go
|
||||||
|
|
||||||
# Golang
|
# Golang
|
||||||
- name: "golang"
|
- name: "golang: upstream version"
|
||||||
version: 1.15.0-rc.2
|
version: 1.15
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: build/build-image/cross/VERSION
|
- path: build/build-image/cross/VERSION
|
||||||
- path: build/root/WORKSPACE
|
- 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-]+)*))?)"
|
match: (override_)?go_version = "\d+.\d+(alpha|beta|rc)?\.?\d+"
|
||||||
|
|
||||||
- name: "golang: upstream container image"
|
|
||||||
version: 1.15rc2
|
|
||||||
refPaths:
|
|
||||||
- path: test/images/Makefile
|
- path: test/images/Makefile
|
||||||
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+
|
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+
|
||||||
|
|
||||||
- name: "k8s.gcr.io/kube-cross: dependents"
|
- name: "k8s.gcr.io/kube-cross: dependents"
|
||||||
version: v1.15.0-rc.2-1
|
version: v1.15.0-1
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: build/build-image/cross/VERSION
|
- path: build/build-image/cross/VERSION
|
||||||
- path: test/images/sample-apiserver/Dockerfile
|
- path: test/images/sample-apiserver/Dockerfile
|
||||||
|
@ -3,13 +3,12 @@ workspace(name = "io_k8s_kubernetes")
|
|||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
||||||
load("//build:workspace_mirror.bzl", "mirror")
|
load("//build:workspace_mirror.bzl", "mirror")
|
||||||
|
|
||||||
# TODO(go1.15): Update once we've published a repo-infra release that supports go1.15
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "io_k8s_repo_infra",
|
name = "io_k8s_repo_infra",
|
||||||
strip_prefix = "repo-infra-0.0.11",
|
strip_prefix = "repo-infra-0.0.12",
|
||||||
sha256 = "93da34ad63b1f95db22980becfef7d1cae6f99a84bdd16467edf68956d4288bb",
|
sha256 = "e309a655a5b04fd76b6e950b3371aa8636bb929f2860a7ec22fa9b4b0b7c8236",
|
||||||
urls = [
|
urls = [
|
||||||
"https://github.com/kubernetes/repo-infra/archive/v0.0.11.tar.gz",
|
"https://github.com/kubernetes/repo-infra/archive/v0.0.12.tar.gz",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -24,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
|
# 'override_go_version': used to specify an alternate go version provided
|
||||||
# by kubernetes/repo-infra
|
# by kubernetes/repo-infra
|
||||||
repo_infra_configure(
|
repo_infra_configure(
|
||||||
# TODO(go1.15): Uncomment once we've published a repo-infra release that supports go1.15
|
go_version = "1.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",
|
|
||||||
minimum_bazel_version = "2.2.0",
|
minimum_bazel_version = "2.2.0",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,5 +11,5 @@ require (
|
|||||||
gotest.tools v2.2.0+incompatible
|
gotest.tools v2.2.0+incompatible
|
||||||
gotest.tools/gotestsum v0.3.5
|
gotest.tools/gotestsum v0.3.5
|
||||||
honnef.co/go/tools v0.0.1-2020.1.4
|
honnef.co/go/tools v0.0.1-2020.1.4
|
||||||
k8s.io/repo-infra v0.0.11
|
k8s.io/repo-infra v0.0.12
|
||||||
)
|
)
|
||||||
|
@ -708,8 +708,8 @@ honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK
|
|||||||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||||
k8s.io/klog/v2 v2.3.0 h1:WmkrnW7fdrm0/DMClc+HIxtftvxVIPAhlVwMQo5yLco=
|
k8s.io/klog/v2 v2.3.0 h1:WmkrnW7fdrm0/DMClc+HIxtftvxVIPAhlVwMQo5yLco=
|
||||||
k8s.io/klog/v2 v2.3.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
|
k8s.io/klog/v2 v2.3.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
|
||||||
k8s.io/repo-infra v0.0.11 h1:cSxJ7c6qIG4ImjsaJEQ2+FZnh6CbV7x9yz3je6Mme4k=
|
k8s.io/repo-infra v0.0.12 h1:i5NvQE7KU7Ky/YkJZPLZJKBDTNgf4ncNXz17XC8uZIE=
|
||||||
k8s.io/repo-infra v0.0.11/go.mod h1:WfvjbUCy0f1fsyHq6sF825VYMfAh9pQdkYCa35OZRJc=
|
k8s.io/repo-infra v0.0.12/go.mod h1:WfvjbUCy0f1fsyHq6sF825VYMfAh9pQdkYCa35OZRJc=
|
||||||
mvdan.cc/gofumpt v0.0.0-20200709182408-4fd085cb6d5f/go.mod h1:9VQ397fNXEnF84t90W4r4TRCQK+pg9f8ugVfyj+S26w=
|
mvdan.cc/gofumpt v0.0.0-20200709182408-4fd085cb6d5f/go.mod h1:9VQ397fNXEnF84t90W4r4TRCQK+pg9f8ugVfyj+S26w=
|
||||||
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=
|
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=
|
||||||
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc=
|
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc=
|
||||||
|
@ -16,7 +16,7 @@ REGISTRY ?= gcr.io/kubernetes-e2e-test-images
|
|||||||
GOARM ?= 7
|
GOARM ?= 7
|
||||||
DOCKER_CERT_BASE_PATH ?=
|
DOCKER_CERT_BASE_PATH ?=
|
||||||
QEMUVERSION=v2.9.1
|
QEMUVERSION=v2.9.1
|
||||||
GOLANG_VERSION=1.15rc2
|
GOLANG_VERSION=1.15.0
|
||||||
export
|
export
|
||||||
|
|
||||||
ifndef WHAT
|
ifndef WHAT
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
ARG BASEIMAGE
|
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
|
ENV GOPATH /go
|
||||||
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin
|
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user