Skip to content

Commit

Permalink
Mark all build/ targets as manual
Browse files Browse the repository at this point in the history
Signed-off-by: James Munnelly <james@munnelly.eu>
  • Loading branch information
munnerz committed Mar 5, 2020
1 parent b48988f commit 6a2edb8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ release_filegroup(
name = "docker-artifacts",
srcs = [":%s.tar" % binary for binary in DOCKERIZED_BINARIES.keys()] +
[":%s.docker_tag" % binary for binary in DOCKERIZED_BINARIES.keys()],
tags = ["manual"],
)

filegroup(
Expand Down
4 changes: 4 additions & 0 deletions build/container.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def multi_arch_container(
)
native.alias(
name = name,
tags = tags,
actual = select({
go_platform_constraint(os = "linux", arch = arch): "%s-%s" % (name, arch)
for arch in architectures
Expand All @@ -93,6 +94,7 @@ def multi_arch_container(
native.genrule(
name = "gen_%s.tar" % name,
outs = ["%s.tar" % name],
tags = tags,
srcs = select({
go_platform_constraint(os = "linux", arch = arch): ["%s-%s.tar" % (name, arch)]
for arch in architectures
Expand Down Expand Up @@ -138,6 +140,7 @@ def multi_arch_container_push(

native.alias(
name = name,
tags = tags,
actual = select({
go_platform_constraint(os = "linux", arch = arch): "push-%s-%s" % (name, arch)
for arch in architectures
Expand All @@ -146,6 +149,7 @@ def multi_arch_container_push(

docker_push(
name = "push-%s" % name,
tags = tags,
bundle = select({
go_platform_constraint(os = "linux", arch = arch): "push-%s-%s" % (name, arch)
for arch in architectures
Expand Down
9 changes: 8 additions & 1 deletion build/release-tars/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ release_filegroup(
":cert-manager-test-{OS}-{ARCH}.tar.gz",
],
),
tags = [
"manual",
"no-cache",
],
)

filegroup(
Expand Down Expand Up @@ -115,7 +119,10 @@ pkg_tar(
pkg_tar(
name = "cert-manager-manifests",
extension = "tar.gz",
tags = ["no-cache"],
tags = [
"manual",
"no-cache",
],
deps = [
"//deploy:manifests",
],
Expand Down

0 comments on commit 6a2edb8

Please sign in to comment.