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

pull/564/head
Jeff Grafton 2019-02-15 15:07:48 -08:00
parent 26d51164e1
commit e2ebf254ea
1 changed files with 5 additions and 0 deletions

View File

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