diff --git a/container/layer.bzl b/container/layer.bzl index c7f0445a5..938af126e 100644 --- a/container/layer.bzl +++ b/container/layer.bzl @@ -166,11 +166,6 @@ def build_layer( input_manifests = xz_input_manifests, tools = files + file_map.values() + tars + debs + [manifest_file] + xz_tools, 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 10cc2dbc2..a5ec1f693 100644 --- a/container/layer_tools.bzl +++ b/container/layer_tools.bzl @@ -187,12 +187,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 01e20f4b2..5b12727cf 100644 --- a/docker/package_managers/install_pkgs.bzl +++ b/docker/package_managers/install_pkgs.bzl @@ -131,11 +131,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 903ceb936..eedb488d4 100644 --- a/docker/util/run.bzl +++ b/docker/util/run.bzl @@ -396,11 +396,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,