From 02987016cc9102b8f7ef733d3962840bca97efdd Mon Sep 17 00:00:00 2001 From: Jeff Grafton Date: Mon, 11 Feb 2019 16:12:23 -0800 Subject: [PATCH] Mark lots of things with tag 'manual' --- build/debs/BUILD | 16 ++++++++++ build/release-tars/BUILD | 64 ++++++++++++++++++++++++++++++++-------- 2 files changed, 68 insertions(+), 12 deletions(-) diff --git a/build/debs/BUILD b/build/debs/BUILD index 20f8a5a82f..6868a566a2 100644 --- a/build/debs/BUILD +++ b/build/debs/BUILD @@ -64,6 +64,7 @@ alias( }, ], goarch = arch, + tags = ["manual"], ) for arch in CLIENT_PLATFORMS["linux"]] [[deb_data( @@ -76,6 +77,7 @@ alias( }, ], goarch = arch, + tags = ["manual"], ) for binary in [ "cloud-controller-manager", "kube-apiserver", @@ -99,6 +101,7 @@ alias( }, ], goarch = arch, + tags = ["manual"], ) for arch in NODE_PLATFORMS["linux"]] [deb_data( @@ -126,17 +129,20 @@ alias( }, ], goarch = arch, + tags = ["manual"], ) for arch in NODE_PLATFORMS["linux"]] [pkg_tar( name = "kubernetes-cni-data-%s" % goarch, package_dir = "/opt/cni/bin", + tags = ["manual"], deps = ["@kubernetes_cni_%s//file" % goarch], ) for goarch in NODE_PLATFORMS["linux"]] [pkg_tar( name = "cri-tools-data-%s" % goarch, package_dir = "/usr/bin", + tags = ["manual"], deps = ["@cri_tools_%s//file" % goarch], ) for goarch in NODE_PLATFORMS["linux"]] @@ -144,6 +150,7 @@ alias( name = "cloud-controller-manager", description = "Kubernetes Cloud Controller Manager", goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in SERVER_PLATFORMS["linux"]] @@ -153,6 +160,7 @@ alias( The Kubernetes command line tool for interacting with the Kubernetes API. """, goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in CLIENT_PLATFORMS["linux"]] @@ -160,6 +168,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API. name = "kube-apiserver", description = "Kubernetes API Server", goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in SERVER_PLATFORMS["linux"]] @@ -167,6 +176,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API. name = "kube-controller-manager", description = "Kubernetes Controller Manager", goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in SERVER_PLATFORMS["linux"]] @@ -174,6 +184,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API. name = "kube-scheduler", description = "Kubernetes Scheduler", goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in SERVER_PLATFORMS["linux"]] @@ -185,6 +196,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API. ], description = "Kubernetes Service Proxy", goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in NODE_PLATFORMS["linux"]] @@ -205,6 +217,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API. The node agent of Kubernetes, the container cluster manager """, goarch = arch, + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in NODE_PLATFORMS["linux"]] @@ -221,6 +234,7 @@ The Kubernetes command line tool for bootstrapping a Kubernetes cluster. """, goarch = arch, postinst = "postinst", + tags = ["manual"], version_file = "//build:os_package_version", ) for arch in NODE_PLATFORMS["linux"]] @@ -230,6 +244,7 @@ The Kubernetes command line tool for bootstrapping a Kubernetes cluster. The Container Networking Interface tools for provisioning container networks. """, goarch = arch, + tags = ["manual"], version = CNI_VERSION, ) for arch in NODE_PLATFORMS["linux"]] @@ -237,6 +252,7 @@ The Container Networking Interface tools for provisioning container networks. name = "cri-tools", description = """Container Runtime Interface tools (crictl)""", goarch = arch, + tags = ["manual"], version = CRI_TOOLS_VERSION, ) for arch in NODE_PLATFORMS["linux"]] diff --git a/build/release-tars/BUILD b/build/release-tars/BUILD index 6f01a1ec1a..249e02ea5f 100644 --- a/build/release-tars/BUILD +++ b/build/release-tars/BUILD @@ -57,7 +57,10 @@ pkg_tar( ":package_src": "//", "//conditions:default": ".", }), - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], ) # Included in node and server tarballs. @@ -75,7 +78,10 @@ pkg_tar( srcs = ["//build:client-targets"], mode = "0755", package_dir = "client/bin", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -83,7 +89,10 @@ pkg_tar( name = "kubernetes-client-%s-%s" % (os, arch), extension = "tar.gz", package_dir = "kubernetes", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], deps = select({go_platform_constraint(os, arch): [":_client-bin"]}), ) for arch in archs] for os, archs in CLIENT_PLATFORMS.items()] @@ -95,7 +104,10 @@ pkg_tar( ], mode = "0755", package_dir = "node/bin", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -105,7 +117,10 @@ pkg_tar( extension = "tar.gz", mode = "0644", package_dir = "kubernetes", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], deps = select({go_platform_constraint(os, arch): [":_node-bin"]}), ) for arch in archs] for os, archs in NODE_PLATFORMS.items()] @@ -119,7 +134,10 @@ pkg_tar( ], mode = "0755", package_dir = "server/bin", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -137,7 +155,10 @@ pkg_tar( ":.dummy", ], package_dir = "addons", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -147,7 +168,10 @@ pkg_tar( extension = "tar.gz", mode = "0644", package_dir = "kubernetes", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], deps = select({ go_platform_constraint(os, arch): [ ":_server-addons", @@ -164,7 +188,10 @@ pkg_tar( package_dir = select(for_platforms( for_test = "platforms/{OS}/{ARCH}", )), - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -201,7 +228,10 @@ pkg_tar( "build/release-tars/DEPRECATION_NOTICE": "DEPRECATION_NOTICE", }, strip_prefix = "//", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], deps = select(for_platforms( for_test = [":_test-mondo-bin"], )), @@ -221,7 +251,10 @@ pkg_tar( srcs = ["//build:test-targets"], mode = "0755", package_dir = "test/bin", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], ) @@ -230,6 +263,10 @@ pkg_tar( extension = "tar.gz", package_dir = "kubernetes", strip_prefix = "//", + tags = [ + "manual", + "no-cache", + ], tags = ["no-cache"], deps = select({go_platform_constraint(os, arch): [":_test-bin"]}), ) for arch in archs] for os, archs in TEST_PLATFORMS.items()] @@ -240,7 +277,10 @@ pkg_tar( ":kubernetes-manifests.tar.gz", ], package_dir = "server", - tags = ["no-cache"], + tags = [ + "manual", + "no-cache", + ], visibility = ["//visibility:private"], )