Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable cache compression #27023

Merged
merged 8 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
* Dead letter queue support added to RunInference in Python ([#24209](https://github.com/apache/beam/issues/24209)).
* Support added for defining pre/postprocessing operations on the RunInference transform ([#26308](https://github.com/apache/beam/issues/26308))
* Adds a Docker Compose based transform service that can be used to discover and use portable Beam transforms ([#26023](https://github.com/apache/beam/pull/26023)).
* Allow prebuilding large images when using `--prebuild_sdk_container_engine=cloud_build`, like images depending on `tensorflow` or `torch` ([#27023](https://github.com/apache/beam/pull/27023))
davidcavazos marked this conversation as resolved.
Show resolved Hide resolved

## Breaking Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,13 @@ def _invoke_docker_build_and_push(self, container_image_name):
build.steps = []
step = cloudbuild.BuildStep()
step.name = 'gcr.io/kaniko-project/executor:latest'
step.args = ['--destination=' + container_image_name, '--cache=true']
# Disable compression caching to allow for large images to be cached.
# See: https://github.com/GoogleContainerTools/kaniko/issues/1669
step.args = [
'--destination=' + container_image_name,
'--cache=true',
'--compressed-caching=false',
davidcavazos marked this conversation as resolved.
Show resolved Hide resolved
]
step.dir = SOURCE_FOLDER

build.steps.append(step)
Expand Down