You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Produce a separate tar output for each layer of a python app
113
95
114
96
> Requires `awk` to be installed on the host machine/rbe runner.
@@ -137,7 +119,6 @@ def py_image_layer(
137
119
compress: Compression algorithm to use. Default is gzip. See: https://github.com/bazel-contrib/bazel-lib/blob/main/docs/tar.md#tar_rule-compress
138
120
compute_unused_inputs: Whether to compute unused inputs. Default is 1. See: https://github.com/bazel-contrib/bazel-lib/blob/main/docs/tar.md#tar_rule-compute_unused_inputs
139
121
platform: The platform to use for the transition. Default is None. See: https://github.com/bazel-contrib/bazel-lib/blob/main/docs/transitions.md#platform_transition_binary-target_platform
140
-
owner: An owner uid for the uncompressed files. See mtree_mutate: https://github.com/bazel-contrib/bazel-lib/blob/main/docs/tar.md#mutating-the-tar-contents
141
122
tar_args: Additional arguments to pass to the tar rule. Default is `[]`. See: https://github.com/bazel-contrib/bazel-lib/blob/main/docs/tar.md#tar_rule-args
142
123
**kwargs: attribute that apply to all targets expanded by the macro
143
124
@@ -149,24 +130,11 @@ def py_image_layer(
149
130
150
131
# Produce the manifest for a tar file of our py_binary, but don't tar it up yet, so we can split
151
132
# into fine-grained layers for better pull, push and remote cache performance.
0 commit comments