Create vendor->staging symlinks in kubernetes-src.tar.gz

This commit is contained in:
Jeff Grafton 2019-02-15 15:07:48 -08:00
parent 26d51164e1
commit e2ebf254ea

View File

@ -11,6 +11,7 @@ load(
) )
load("@io_k8s_repo_infra//defs:build.bzl", "release_filegroup") load("@io_k8s_repo_infra//defs:build.bzl", "release_filegroup")
load("@io_k8s_repo_infra//defs:pkg.bzl", "pkg_tar") load("@io_k8s_repo_infra//defs:pkg.bzl", "pkg_tar")
load("//staging:repos_generated.bzl", "staging_repos")
# Bazel doesn't make the output filename # Bazel doesn't make the output filename
# (such as kubernetes-server-{OS}-{ARCH}.tar.gz) configurable, so we instead # (such as kubernetes-server-{OS}-{ARCH}.tar.gz) configurable, so we instead
@ -87,6 +88,10 @@ pkg_tar(
":package_src": "//", ":package_src": "//",
"//conditions:default": ".", "//conditions:default": ".",
}), }),
symlinks = {
"kubernetes/vendor/%s" % repo: "../../staging/src/%s" % repo
for repo in staging_repos
},
tags = [ tags = [
"manual", "manual",
"no-cache", "no-cache",