diff --git a/container/layer.bzl b/container/layer.bzl index 0268d3912..5b85e2520 100644 --- a/container/layer.bzl +++ b/container/layer.bzl @@ -151,11 +151,6 @@ def build_layer( arguments = [args], tools = files + file_map.values() + tars + debs + [manifest_file], outputs = [layer], - execution_requirements = { - # This action produces large output files, so it's not - # economical to send this to the remote-cache - "no-remote-cache": "1", - }, use_default_shell_env = True, mnemonic = "ImageLayer", ) diff --git a/container/layer_tools.bzl b/container/layer_tools.bzl index 5d5a6f539..67765583f 100644 --- a/container/layer_tools.bzl +++ b/container/layer_tools.bzl @@ -183,12 +183,6 @@ def assemble( arguments = [args], tools = inputs, outputs = [output], - execution_requirements = { - # This action produces large output files, but doesn't require much CPU to compute. - # It's not economical to send this to the remote-cache, instead local cache misses - # should just run join_layers again. - "no-remote-cache": "1", - }, mnemonic = "JoinLayers", ) diff --git a/docker/package_managers/install_pkgs.bzl b/docker/package_managers/install_pkgs.bzl index 5fba31224..93ca4493e 100644 --- a/docker/package_managers/install_pkgs.bzl +++ b/docker/package_managers/install_pkgs.bzl @@ -126,11 +126,6 @@ def _impl(ctx, image_tar = None, installables_tar = None, installation_cleanup_c installables_tar, image_util, ], - execution_requirements = { - # This action produces large output files, and isn't economical to - # upload to a remote cache. - "no-remote-cache": "1", - }, mnemonic = "ExtractImageId", tools = [ctx.executable._extract_image_id, ctx.executable._to_json_tool], executable = script, diff --git a/docker/util/run.bzl b/docker/util/run.bzl index 17106de06..2d1155b09 100644 --- a/docker/util/run.bzl +++ b/docker/util/run.bzl @@ -386,11 +386,6 @@ def _commit_layer_impl( outputs = [output_layer_tar, output_diff_id], inputs = runfiles, executable = script, - execution_requirements = { - # This action produces large output files, and isn't economical to - # upload to a remote cache. - "no-remote-cache": "1", - }, mnemonic = "RunAndCommitLayer", tools = [ctx.executable._extract_image_id, ctx.executable._last_layer_extractor_tool], use_default_shell_env = True, diff --git a/skylib/zip.bzl b/skylib/zip.bzl index 6ffcf35cb..b8a7d6d1a 100644 --- a/skylib/zip.bzl +++ b/skylib/zip.bzl @@ -50,12 +50,6 @@ def _gzip(ctx, artifact, out, decompress, options, mnemonic): ) + (options or []), inputs = [artifact], outputs = [out], - execution_requirements = { - # This action produces large output files, but doesn't require much CPU to compute. - # It's not economical to send this to the remote-cache, instead local cache misses - # should just run gzip again. - "no-remote-cache": "1", - }, mnemonic = mnemonic, tools = ctx.attr._zipper[DefaultInfo].default_runfiles.files, ) @@ -75,13 +69,6 @@ def _gzip(ctx, artifact, out, decompress, options, mnemonic): input_manifests = input_manifests, inputs = [artifact], outputs = [out], - execution_requirements = { - # See comment above. - # In this case it's not guaranteed that the user's gzip implementation - # is actually faster than a network fetch, but we guess that any typical - # one should be. - "no-remote-cache": "1", - }, use_default_shell_env = True, mnemonic = mnemonic, tools = tools,