Skip to content

Commit

Permalink
Add a rule to create kubernetes-src.tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Jan 5, 2017
1 parent 61fcf21 commit 1ccf106
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ licenses(["notice"])

load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
load("@io_kubernetes_build//defs:build.bzl", "gcs_upload")
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")

go_prefix("k8s.io/kubernetes")

Expand Down Expand Up @@ -50,3 +51,13 @@ filegroup(
],
tags = ["automanaged"],
)

pkg_tar(
name = "kubernetes-src",
extension = "tar.gz",
files = [
":all-srcs",
],
package_dir = "kubernetes",
strip_prefix = "//",
)

0 comments on commit 1ccf106

Please sign in to comment.