Skip to content

Commit

Permalink
Create vendor->staging symlinks in kubernetes-src.tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Feb 25, 2019
1 parent 26d5116 commit e2ebf25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/release-tars/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e2ebf25

Please sign in to comment.