Mark lots of things with tag 'manual'

pull/564/head
Jeff Grafton 2019-02-11 16:12:23 -08:00
parent 4b50d9352f
commit 02987016cc
2 changed files with 68 additions and 12 deletions

View File

@ -64,6 +64,7 @@ alias(
}, },
], ],
goarch = arch, goarch = arch,
tags = ["manual"],
) for arch in CLIENT_PLATFORMS["linux"]] ) for arch in CLIENT_PLATFORMS["linux"]]
[[deb_data( [[deb_data(
@ -76,6 +77,7 @@ alias(
}, },
], ],
goarch = arch, goarch = arch,
tags = ["manual"],
) for binary in [ ) for binary in [
"cloud-controller-manager", "cloud-controller-manager",
"kube-apiserver", "kube-apiserver",
@ -99,6 +101,7 @@ alias(
}, },
], ],
goarch = arch, goarch = arch,
tags = ["manual"],
) for arch in NODE_PLATFORMS["linux"]] ) for arch in NODE_PLATFORMS["linux"]]
[deb_data( [deb_data(
@ -126,17 +129,20 @@ alias(
}, },
], ],
goarch = arch, goarch = arch,
tags = ["manual"],
) for arch in NODE_PLATFORMS["linux"]] ) for arch in NODE_PLATFORMS["linux"]]
[pkg_tar( [pkg_tar(
name = "kubernetes-cni-data-%s" % goarch, name = "kubernetes-cni-data-%s" % goarch,
package_dir = "/opt/cni/bin", package_dir = "/opt/cni/bin",
tags = ["manual"],
deps = ["@kubernetes_cni_%s//file" % goarch], deps = ["@kubernetes_cni_%s//file" % goarch],
) for goarch in NODE_PLATFORMS["linux"]] ) for goarch in NODE_PLATFORMS["linux"]]
[pkg_tar( [pkg_tar(
name = "cri-tools-data-%s" % goarch, name = "cri-tools-data-%s" % goarch,
package_dir = "/usr/bin", package_dir = "/usr/bin",
tags = ["manual"],
deps = ["@cri_tools_%s//file" % goarch], deps = ["@cri_tools_%s//file" % goarch],
) for goarch in NODE_PLATFORMS["linux"]] ) for goarch in NODE_PLATFORMS["linux"]]
@ -144,6 +150,7 @@ alias(
name = "cloud-controller-manager", name = "cloud-controller-manager",
description = "Kubernetes Cloud Controller Manager", description = "Kubernetes Cloud Controller Manager",
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in SERVER_PLATFORMS["linux"]] ) for arch in SERVER_PLATFORMS["linux"]]
@ -153,6 +160,7 @@ alias(
The Kubernetes command line tool for interacting with the Kubernetes API. The Kubernetes command line tool for interacting with the Kubernetes API.
""", """,
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in CLIENT_PLATFORMS["linux"]] ) for arch in CLIENT_PLATFORMS["linux"]]
@ -160,6 +168,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API.
name = "kube-apiserver", name = "kube-apiserver",
description = "Kubernetes API Server", description = "Kubernetes API Server",
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in SERVER_PLATFORMS["linux"]] ) 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", name = "kube-controller-manager",
description = "Kubernetes Controller Manager", description = "Kubernetes Controller Manager",
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in SERVER_PLATFORMS["linux"]] ) for arch in SERVER_PLATFORMS["linux"]]
@ -174,6 +184,7 @@ The Kubernetes command line tool for interacting with the Kubernetes API.
name = "kube-scheduler", name = "kube-scheduler",
description = "Kubernetes Scheduler", description = "Kubernetes Scheduler",
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in SERVER_PLATFORMS["linux"]] ) 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", description = "Kubernetes Service Proxy",
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in NODE_PLATFORMS["linux"]] ) 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 The node agent of Kubernetes, the container cluster manager
""", """,
goarch = arch, goarch = arch,
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in NODE_PLATFORMS["linux"]] ) for arch in NODE_PLATFORMS["linux"]]
@ -221,6 +234,7 @@ The Kubernetes command line tool for bootstrapping a Kubernetes cluster.
""", """,
goarch = arch, goarch = arch,
postinst = "postinst", postinst = "postinst",
tags = ["manual"],
version_file = "//build:os_package_version", version_file = "//build:os_package_version",
) for arch in NODE_PLATFORMS["linux"]] ) 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. The Container Networking Interface tools for provisioning container networks.
""", """,
goarch = arch, goarch = arch,
tags = ["manual"],
version = CNI_VERSION, version = CNI_VERSION,
) for arch in NODE_PLATFORMS["linux"]] ) for arch in NODE_PLATFORMS["linux"]]
@ -237,6 +252,7 @@ The Container Networking Interface tools for provisioning container networks.
name = "cri-tools", name = "cri-tools",
description = """Container Runtime Interface tools (crictl)""", description = """Container Runtime Interface tools (crictl)""",
goarch = arch, goarch = arch,
tags = ["manual"],
version = CRI_TOOLS_VERSION, version = CRI_TOOLS_VERSION,
) for arch in NODE_PLATFORMS["linux"]] ) for arch in NODE_PLATFORMS["linux"]]

View File

@ -57,7 +57,10 @@ pkg_tar(
":package_src": "//", ":package_src": "//",
"//conditions:default": ".", "//conditions:default": ".",
}), }),
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
) )
# Included in node and server tarballs. # Included in node and server tarballs.
@ -75,7 +78,10 @@ pkg_tar(
srcs = ["//build:client-targets"], srcs = ["//build:client-targets"],
mode = "0755", mode = "0755",
package_dir = "client/bin", package_dir = "client/bin",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -83,7 +89,10 @@ pkg_tar(
name = "kubernetes-client-%s-%s" % (os, arch), name = "kubernetes-client-%s-%s" % (os, arch),
extension = "tar.gz", extension = "tar.gz",
package_dir = "kubernetes", package_dir = "kubernetes",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
deps = select({go_platform_constraint(os, arch): [":_client-bin"]}), deps = select({go_platform_constraint(os, arch): [":_client-bin"]}),
) for arch in archs] for os, archs in CLIENT_PLATFORMS.items()] ) for arch in archs] for os, archs in CLIENT_PLATFORMS.items()]
@ -95,7 +104,10 @@ pkg_tar(
], ],
mode = "0755", mode = "0755",
package_dir = "node/bin", package_dir = "node/bin",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -105,7 +117,10 @@ pkg_tar(
extension = "tar.gz", extension = "tar.gz",
mode = "0644", mode = "0644",
package_dir = "kubernetes", package_dir = "kubernetes",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
deps = select({go_platform_constraint(os, arch): [":_node-bin"]}), deps = select({go_platform_constraint(os, arch): [":_node-bin"]}),
) for arch in archs] for os, archs in NODE_PLATFORMS.items()] ) for arch in archs] for os, archs in NODE_PLATFORMS.items()]
@ -119,7 +134,10 @@ pkg_tar(
], ],
mode = "0755", mode = "0755",
package_dir = "server/bin", package_dir = "server/bin",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -137,7 +155,10 @@ pkg_tar(
":.dummy", ":.dummy",
], ],
package_dir = "addons", package_dir = "addons",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -147,7 +168,10 @@ pkg_tar(
extension = "tar.gz", extension = "tar.gz",
mode = "0644", mode = "0644",
package_dir = "kubernetes", package_dir = "kubernetes",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
deps = select({ deps = select({
go_platform_constraint(os, arch): [ go_platform_constraint(os, arch): [
":_server-addons", ":_server-addons",
@ -164,7 +188,10 @@ pkg_tar(
package_dir = select(for_platforms( package_dir = select(for_platforms(
for_test = "platforms/{OS}/{ARCH}", for_test = "platforms/{OS}/{ARCH}",
)), )),
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -201,7 +228,10 @@ pkg_tar(
"build/release-tars/DEPRECATION_NOTICE": "DEPRECATION_NOTICE", "build/release-tars/DEPRECATION_NOTICE": "DEPRECATION_NOTICE",
}, },
strip_prefix = "//", strip_prefix = "//",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
deps = select(for_platforms( deps = select(for_platforms(
for_test = [":_test-mondo-bin"], for_test = [":_test-mondo-bin"],
)), )),
@ -221,7 +251,10 @@ pkg_tar(
srcs = ["//build:test-targets"], srcs = ["//build:test-targets"],
mode = "0755", mode = "0755",
package_dir = "test/bin", package_dir = "test/bin",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
@ -230,6 +263,10 @@ pkg_tar(
extension = "tar.gz", extension = "tar.gz",
package_dir = "kubernetes", package_dir = "kubernetes",
strip_prefix = "//", strip_prefix = "//",
tags = [
"manual",
"no-cache",
],
tags = ["no-cache"], tags = ["no-cache"],
deps = select({go_platform_constraint(os, arch): [":_test-bin"]}), deps = select({go_platform_constraint(os, arch): [":_test-bin"]}),
) for arch in archs] for os, archs in TEST_PLATFORMS.items()] ) for arch in archs] for os, archs in TEST_PLATFORMS.items()]
@ -240,7 +277,10 @@ pkg_tar(
":kubernetes-manifests.tar.gz", ":kubernetes-manifests.tar.gz",
], ],
package_dir = "server", package_dir = "server",
tags = ["no-cache"], tags = [
"manual",
"no-cache",
],
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )