Merge pull request #94449 from justaugustus/go115

[go1.15] Update to go1.15.2
This commit is contained in:
Kubernetes Prow Robot 2020-09-15 15:15:19 -07:00 committed by GitHub
commit aed5ffd195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 157 additions and 145 deletions

View File

@ -155,7 +155,7 @@ filegroup(
srcs = select(for_platforms( srcs = select(for_platforms(
for_server = [ for_server = [
"//cmd/kubemark", "//cmd/kubemark",
"//test/e2e_node:e2e_node.test_binary", "//test/e2e_node:e2e_node.test",
], ],
for_test = [ for_test = [
"//cmd/gendocs", "//cmd/gendocs",
@ -164,7 +164,7 @@ filegroup(
"//cmd/genswaggertypedocs", "//cmd/genswaggertypedocs",
"//cmd/genyaml", "//cmd/genyaml",
"//cmd/linkcheck", "//cmd/linkcheck",
"//test/e2e:e2e.test_binary", "//test/e2e:e2e.test",
"//vendor/github.com/onsi/ginkgo/ginkgo", "//vendor/github.com/onsi/ginkgo/ginkgo",
"//cluster/images/conformance/go-runner", "//cluster/images/conformance/go-runner",
], ],

View File

@ -1 +1 @@
v1.15.0-1 v1.15.2-1

View File

@ -94,7 +94,7 @@ readonly KUBE_CONTAINER_RSYNC_PORT=8730
# $1 - server architecture # $1 - server architecture
kube::build::get_docker_wrapped_binaries() { kube::build::get_docker_wrapped_binaries() {
local debian_iptables_version=v12.1.2 local debian_iptables_version=v12.1.2
local go_runner_version=buster-v2.0.0 local go_runner_version=buster-v2.0.1
### If you change any of these lists, please also update DOCKERIZED_BINARIES ### If you change any of these lists, please also update DOCKERIZED_BINARIES
### in build/BUILD. And kube::golang::server_image_targets ### in build/BUILD. And kube::golang::server_image_targets
local targets=( local targets=(

View File

@ -17,7 +17,7 @@ dependencies:
# Bazel # Bazel
- name: "repo-infra" - name: "repo-infra"
version: 0.0.12 version: 0.1.1
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+"
@ -99,16 +99,18 @@ dependencies:
# Golang # Golang
- name: "golang: upstream version" - name: "golang: upstream version"
version: 1.15 version: 1.15.2
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 = "\d+.\d+(alpha|beta|rc)?\.?\d+" match: (override_)?go_version = "\d+.\d+(alpha|beta|rc)?\.?\d+"
- 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+
- path: staging/publishing/rules.yaml
match: 'default-go-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-1 version: v1.15.2-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
@ -142,7 +144,7 @@ dependencies:
match: configs\[DebianIptables\] = Config{buildImageRegistry, "debian-iptables", "v\d+\.\d+.\d+"} match: configs\[DebianIptables\] = Config{buildImageRegistry, "debian-iptables", "v\d+\.\d+.\d+"}
- name: "k8s.gcr.io/go-runner: dependents" - name: "k8s.gcr.io/go-runner: dependents"
version: buster-v2.0.0 version: buster-v2.0.1
refPaths: refPaths:
- path: build/common.sh - path: build/common.sh
match: go_runner_version= match: go_runner_version=

View File

@ -12,92 +12,100 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_context", "go_test")
load("@io_bazel_rules_go//go/platform:list.bzl", "GOOS_GOARCH")
# Defines several go_binary rules to work around a Bazel issue which makes # Defines a go_binary rule that enables cgo on platform builds targeting Linux,
# the pure attribute on go_binary not configurable. # and otherwise builds a pure go binary.
# The name provided will have cgo enabled if targeting Linux, and will def go_binary_conditional_pure(name, tags = [], **kwargs):
# be a pure go binary otherwise. Additionally, if targeting Windows, the
# output filename will have a .exe suffix.
def go_binary_conditional_pure(name, tags = None, **kwargs):
tags = tags or []
tags.append("manual")
go_binary( go_binary(
name = "_%s-cgo" % name,
out = name,
pure = "off",
tags = tags,
**kwargs
)
# Define a rule for both Unix and Windows exe suffixes.
[go_binary(
name = "_%s-pure" % out,
out = out,
pure = "on",
tags = tags,
**kwargs
) for out in [name, name + ".exe"]]
# The real magic, where we work around the pure attribute not being
# configurable: select the appropriate go_binary rule above based on the
# configured platform.
native.alias(
name = name, name = name,
actual = select({ pure = select({
"@io_bazel_rules_go//go/platform:linux": ":_%s-cgo" % name, "@io_bazel_rules_go//go/platform:linux": "off",
"@io_bazel_rules_go//go/platform:windows": ":_%s.exe-pure" % name, "//conditions:default": "on",
"//conditions:default": ":_%s-pure" % name,
}), }),
tags = ["manual"] + tags,
**kwargs
) )
# Defines several go_test rules to work around a Bazel issue which makes # Defines a go_test rule that enables cgo on platform builds targeting Linux,
# the pure attribute on go_test not configurable. # and otherwise builds a pure go binary.
# This also defines genrules to produce test binaries named ${out} and def go_test_conditional_pure(name, out, tags = [], **kwargs):
# ${out}.exe, and an alias named ${out}_binary which automatically selects
# the correct filename suffix (i.e. with a .exe on Windows).
def go_test_conditional_pure(name, out, tags = None, **kwargs):
tags = tags or []
tags.append("manual") tags.append("manual")
go_test( go_test(
name = "_%s-cgo" % name, name = out,
pure = "off", pure = select({
testonly = False, "@io_bazel_rules_go//go/platform:linux": "off",
tags = tags, "//conditions:default": "on",
**kwargs }),
)
go_test(
name = "_%s-pure" % name,
pure = "on",
testonly = False, testonly = False,
tags = tags, tags = tags,
**kwargs **kwargs
) )
native.alias( native.alias(
name = name, name = "name",
actual = select({ actual = out,
"@io_bazel_rules_go//go/platform:linux": ":_%s-cgo" % name,
"//conditions:default": ":_%s-pure" % name,
}),
) )
[native.genrule( _GO_BUILD_MODE_TMPL = "{goos}/{goarch}/pure={pure},static={static},msan={msan},race={race}\n"
name = "gen_%s" % o,
srcs = [name],
outs = [o],
cmd = "cp $< $@;",
output_to_bindir = True,
executable = True,
tags = tags,
) for o in [out, out + ".exe"]]
native.alias( def _go_build_mode_aspect_impl(target, ctx):
name = "%s_binary" % out, if (not hasattr(ctx.rule.attr, "_is_executable") or
actual = select({ not ctx.rule.attr._is_executable or
"@io_bazel_rules_go//go/platform:windows": ":gen_%s.exe" % out, ctx.rule.attr.testonly):
"//conditions:default": ":gen_%s" % out, # We only care about exporting platform info for executable targets
}), # that aren't testonly (e.g. kubectl and e2e.test).
return []
mode = go_context(ctx).mode
out = ctx.actions.declare_file(
target.files_to_run.executable.basename + ".go_build_mode",
sibling = target.files_to_run.executable,
) )
ctx.actions.write(out, _GO_BUILD_MODE_TMPL.format(
goos = mode.goos,
goarch = mode.goarch,
pure = str(mode.pure).lower(),
static = str(mode.static).lower(),
msan = str(mode.msan).lower(),
race = str(mode.race).lower(),
))
return [OutputGroupInfo(default = depset([out]))]
# This aspect ouputs a *.go_build_mode metadata for go binaries. This metadata
# is used for executable selection e.g. in CI.
go_build_mode_aspect = aspect(
implementation = _go_build_mode_aspect_impl,
attrs = {
"goos": attr.string(
default = "auto",
values = ["auto"] + {goos: None for goos, _ in GOOS_GOARCH}.keys(),
),
"goarch": attr.string(
default = "auto",
values = ["auto"] + {goarch: None for _, goarch in GOOS_GOARCH}.keys(),
),
"pure": attr.string(
default = "auto",
values = ["auto", "on", "off"],
),
"static": attr.string(
default = "auto",
values = ["auto", "on", "off"],
),
"msan": attr.string(
default = "auto",
values = ["auto", "on", "off"],
),
"race": attr.string(
default = "auto",
values = ["auto", "on", "off"],
),
"_go_context_data": attr.label(default = "@io_bazel_rules_go//:go_context_data"),
},
toolchains = ["@io_bazel_rules_go//go:toolchain"],
)

View File

@ -22,9 +22,13 @@ build --define gotags=selinux
# This flag requires Bazel 0.5.0+ # This flag requires Bazel 0.5.0+
build --sandbox_fake_username build --sandbox_fake_username
# Output go_build_mode metadata for binaries. This metadata is used for
# executable selection e.g. in CI.
build --aspects //build:go.bzl%go_build_mode_aspect
# Enable go race detection. # Enable go race detection.
build:unit --features=race build:unit --@io_bazel_rules_go//go/config:race
test:unit --features=race test:unit --@io_bazel_rules_go//go/config:race
test:unit --build_tests_only test:unit --build_tests_only
test:unit --test_tag_filters=-e2e,-integration test:unit --test_tag_filters=-e2e,-integration

View File

@ -5,10 +5,10 @@ load("//build:workspace_mirror.bzl", "mirror")
http_archive( http_archive(
name = "io_k8s_repo_infra", name = "io_k8s_repo_infra",
strip_prefix = "repo-infra-0.0.12", strip_prefix = "repo-infra-0.1.1",
sha256 = "e309a655a5b04fd76b6e950b3371aa8636bb929f2860a7ec22fa9b4b0b7c8236", sha256 = "6c916da43b701e2947f147f3791b3355d8a342dd6cb81887b7d6db184879e387",
urls = [ urls = [
"https://github.com/kubernetes/repo-infra/archive/v0.0.12.tar.gz", "https://github.com/kubernetes/repo-infra/archive/v0.1.1.tar.gz",
], ],
) )
@ -23,7 +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(
go_version = "1.15", go_version = "1.15.2",
minimum_bazel_version = "2.2.0", minimum_bazel_version = "2.2.0",
) )

View File

@ -102,15 +102,15 @@ _DEBIAN_IPTABLES_DIGEST = {
# Use skopeo to find these values: https://github.com/containers/skopeo # Use skopeo to find these values: https://github.com/containers/skopeo
# #
# Example # Example
# Manifest: skopeo inspect docker://gcr.io/k8s-staging-build-image/go-runner:buster-v2.0.0 # Manifest: skopeo inspect docker://gcr.io/k8s-staging-build-image/go-runner:buster-v2.0.1
# Arches: skopeo inspect --raw docker://gcr.io/k8s-staging-build-image/go-runner:buster-v2.0.0 # Arches: skopeo inspect --raw docker://gcr.io/k8s-staging-build-image/go-runner:buster-v2.0.1
_GO_RUNNER_DIGEST = { _GO_RUNNER_DIGEST = {
"manifest": "sha256:ff6e2f3683e7d284674ed18341fc898060204e8c43c9b477e13c6f7faf3e66d4", "manifest": "sha256:687c17db2f5cd4aea13faa7ae56bee639a5b11f380c431a9800205624f53541c",
"amd64": "sha256:140404aed601b95a2a0a1aeac0608a0fdbd5fc339a8ea6b2ee4a63c7e1f56415", "amd64": "sha256:b02bdb3444b1e7fb14cb5b60174f0e8f0a087ff4c294352e6c31c17da99a4ee2",
"arm": "sha256:5d4e8c77bc472610e7e46bbd2b83e167e243434b8287ba2ffe6b09aba9f08ecc", "arm": "sha256:0d7563c814c0cd88bc5937b6e606d266409b5b7cee2deb6c04c6dcb6d7daaa5d",
"arm64": "sha256:62429a05973522064480deb44134e3ca355ee89c7781f3fc3ee9072f17de0085", "arm64": "sha256:78f42645ddfd2ab9dfc4053834aa0042c82c8c550f9f61a2a76fd9f1791e5308",
"ppc64le": "sha256:05c8575486ccea90c35e8d8ba28c84aee57a03d58329b1354cf7193c372d2de2", "ppc64le": "sha256:93e3ca63df801a5c1ad15bdbb9c50fa38e5db3479a92d8f4516c00dfd736f227",
"s390x": "sha256:e886ab4557e60293081f2e47a5b52e84bd3d60290a0f46fb99fac6eec35479ec", "s390x": "sha256:d7ed7bd8d58a6570504f14a50d502c2df97f944378f9f5306519f3379cb92fe2",
} }
def _digest(d, arch): def _digest(d, arch):
@ -127,7 +127,7 @@ def image_dependencies():
digest = _digest(_GO_RUNNER_DIGEST, arch), digest = _digest(_GO_RUNNER_DIGEST, arch),
registry = "k8s.gcr.io/build-image", registry = "k8s.gcr.io/build-image",
repository = "go-runner", repository = "go-runner",
tag = "buster-v2.0.0", # ignored, but kept here for documentation tag = "buster-v2.0.1", # ignored, but kept here for documentation
) )
container_pull( container_pull(

View File

@ -15,7 +15,7 @@ container_layer(
files = [ files = [
"//cluster/images/conformance/go-runner", "//cluster/images/conformance/go-runner",
"//cmd/kubectl", "//cmd/kubectl",
"//test/e2e:e2e.test_binary", "//test/e2e:e2e.test",
"//vendor/github.com/onsi/ginkgo/ginkgo", "//vendor/github.com/onsi/ginkgo/ginkgo",
], ],
) )

View File

@ -207,22 +207,25 @@ kube::util::find-binary-for-platform() {
"${KUBE_ROOT}/_output/dockerized/go/bin/${lookfor}" "${KUBE_ROOT}/_output/dockerized/go/bin/${lookfor}"
); );
fi fi
# Also search for binary in bazel build tree.
# The bazel go rules place some binaries in subtrees like # Also search for binary in bazel build tree if bazel-out/ exists.
# "bazel-bin/source/path/linux_amd64_pure_stripped/binaryname", so make sure if [[ -d "${KUBE_ROOT}/bazel-out" ]]; then
# the platform name is matched in the path. while IFS=$'\n' read -r bin_build_mode; do
while IFS=$'\n' read -r location; do if grep -q "${platform}" "${bin_build_mode}"; then
locations+=("$location"); # drop the extension to get the real binary path.
done < <(find "${KUBE_ROOT}/bazel-bin/" -type f -executable \ locations+=("${bin_build_mode%.*}")
\( -path "*/${platform/\//_}*/${lookfor}" -o -path "*/${lookfor}" \) 2>/dev/null || true) fi
# search for executables for non-GNU versions of find (eg. BSD) done < <(find "${KUBE_ROOT}/bazel-out/" -name "${lookfor}.go_build_mode")
while IFS=$'\n' read -r location; do fi
locations+=("$location");
done < <(find "${KUBE_ROOT}/bazel-bin/" -type f -perm -111 \
\( -path "*/${platform/\//_}*/${lookfor}" -o -path "*/${lookfor}" \) 2>/dev/null || true)
# List most recently-updated location. # List most recently-updated location.
local -r bin=$( (ls -t "${locations[@]}" 2>/dev/null || true) | head -1 ) local -r bin=$( (ls -t "${locations[@]}" 2>/dev/null || true) | head -1 )
if [[ -z "${bin}" ]]; then
kube::log::error "Failed to find binary ${lookfor} for platform ${platform}"
return 1
fi
echo -n "${bin}" echo -n "${bin}"
} }
@ -242,11 +245,6 @@ kube::util::gen-docs() {
genkubedocs=$(kube::util::find-binary "genkubedocs") genkubedocs=$(kube::util::find-binary "genkubedocs")
genman=$(kube::util::find-binary "genman") genman=$(kube::util::find-binary "genman")
genyaml=$(kube::util::find-binary "genyaml") genyaml=$(kube::util::find-binary "genyaml")
genfeddocs=$(kube::util::find-binary "genfeddocs")
# TODO: If ${genfeddocs} is not used from anywhere (it isn't used at
# least from k/k tree), remove it completely.
kube::util::sourced_variable "${genfeddocs}"
mkdir -p "${dest}/docs/user-guide/kubectl/" mkdir -p "${dest}/docs/user-guide/kubectl/"
"${gendocs}" "${dest}/docs/user-guide/kubectl/" "${gendocs}" "${dest}/docs/user-guide/kubectl/"
@ -764,7 +762,7 @@ function kube::util::check-file-in-alphabetical-order {
# Checks whether jq is installed. # Checks whether jq is installed.
function kube::util::require-jq { function kube::util::require-jq {
if ! command -v jq &>/dev/null; then if ! command -v jq &>/dev/null; then
echo "jq not found. Please install." 1>&2 kube::log::error "jq not found. Please install."
return 1 return 1
fi fi
} }

View File

@ -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.12 k8s.io/repo-infra v0.1.1
) )

View File

@ -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.12 h1:i5NvQE7KU7Ky/YkJZPLZJKBDTNgf4ncNXz17XC8uZIE= k8s.io/repo-infra v0.1.1 h1:gGVxusj+TfqEQmLQGg3bzhpQlHrB0RSVM94HyU7Jg9I=
k8s.io/repo-infra v0.0.12/go.mod h1:WfvjbUCy0f1fsyHq6sF825VYMfAh9pQdkYCa35OZRJc= k8s.io/repo-infra v0.1.1/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=

View File

@ -4,7 +4,7 @@ recursive-delete-patterns:
- BUILD.bazel - BUILD.bazel
- "*/BUILD.bazel" - "*/BUILD.bazel"
- Gopkg.toml - Gopkg.toml
default-go-version: 1.15 default-go-version: 1.15.2
rules: rules:
- destination: code-generator - destination: code-generator
branches: branches:
@ -31,7 +31,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/code-generator dir: staging/src/k8s.io/code-generator
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
- destination: apimachinery - destination: apimachinery
library: true library: true
@ -59,7 +59,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/apimachinery dir: staging/src/k8s.io/apimachinery
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
- destination: api - destination: api
library: true library: true
@ -99,7 +99,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/api dir: staging/src/k8s.io/api
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -150,7 +150,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/client-go dir: staging/src/k8s.io/client-go
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -215,7 +215,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/component-base dir: staging/src/k8s.io/component-base
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -286,7 +286,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/apiserver dir: staging/src/k8s.io/apiserver
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -374,7 +374,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kube-aggregator dir: staging/src/k8s.io/kube-aggregator
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -474,7 +474,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/sample-apiserver dir: staging/src/k8s.io/sample-apiserver
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -563,7 +563,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/sample-controller dir: staging/src/k8s.io/sample-controller
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -664,7 +664,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/apiextensions-apiserver dir: staging/src/k8s.io/apiextensions-apiserver
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -743,7 +743,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/metrics dir: staging/src/k8s.io/metrics
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -808,7 +808,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/cli-runtime dir: staging/src/k8s.io/cli-runtime
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -879,7 +879,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/sample-cli-plugin dir: staging/src/k8s.io/sample-cli-plugin
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -952,7 +952,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kube-proxy dir: staging/src/k8s.io/kube-proxy
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -1013,7 +1013,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kubelet dir: staging/src/k8s.io/kubelet
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -1086,7 +1086,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kube-scheduler dir: staging/src/k8s.io/kube-scheduler
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -1159,7 +1159,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kube-controller-manager dir: staging/src/k8s.io/kube-controller-manager
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -1216,7 +1216,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/cluster-bootstrap dir: staging/src/k8s.io/cluster-bootstrap
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: apimachinery - repository: apimachinery
branch: release-1.19 branch: release-1.19
@ -1279,7 +1279,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/cloud-provider dir: staging/src/k8s.io/cloud-provider
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -1354,7 +1354,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/csi-translation-lib dir: staging/src/k8s.io/csi-translation-lib
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -1453,7 +1453,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/legacy-cloud-providers dir: staging/src/k8s.io/legacy-cloud-providers
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -1528,7 +1528,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/cri-api dir: staging/src/k8s.io/cri-api
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
- destination: kubectl - destination: kubectl
library: true library: true
@ -1616,7 +1616,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/kubectl dir: staging/src/k8s.io/kubectl
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
dependencies: dependencies:
- repository: api - repository: api
branch: release-1.19 branch: release-1.19
@ -1644,7 +1644,7 @@ rules:
branch: release-1.19 branch: release-1.19
dir: staging/src/k8s.io/controller-manager dir: staging/src/k8s.io/controller-manager
name: release-1.19 name: release-1.19
go: 1.15 go: 1.15.2
- destination: mount-utils - destination: mount-utils
library: true library: true

View File

@ -45,11 +45,11 @@ genrule(
srcs = [ srcs = [
"//test/e2e:all-srcs", "//test/e2e:all-srcs",
"//test/e2e_node:all-srcs", "//test/e2e_node:all-srcs",
"//test/e2e:e2e.test_binary", "//test/e2e:e2e.test",
"//vendor/github.com/onsi/ginkgo/ginkgo", "//vendor/github.com/onsi/ginkgo/ginkgo",
], ],
outs = ["specsummaries.json"], outs = ["specsummaries.json"],
cmd = "$(location //vendor/github.com/onsi/ginkgo/ginkgo) --dryRun=true --focus=[Conformance] $(location //test/e2e:e2e.test_binary) -- --spec-dump $$(pwd)/$@ > /dev/null", cmd = "$(location //vendor/github.com/onsi/ginkgo/ginkgo) --dryRun=true --focus=[Conformance] $(location //test/e2e:e2e.test) -- --spec-dump $$(pwd)/$@ > /dev/null",
message = "Getting all conformance spec summaries.", message = "Getting all conformance spec summaries.",
) )

View File

@ -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.15.0 GOLANG_VERSION=1.15.2
export export
ifndef WHAT ifndef WHAT

View File

@ -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-1 as build_k8s_1_17_sample_apiserver FROM k8s.gcr.io/build-image/kube-cross:v1.15.2-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