Skip to content

restart_process: Add image_deps & platform to custom_build_with_restart#644

Open
glennpratt wants to merge 2 commits intotilt-dev:masterfrom
glennpratt:patch-1
Open

restart_process: Add image_deps & platform to custom_build_with_restart#644
glennpratt wants to merge 2 commits intotilt-dev:masterfrom
glennpratt:patch-1

Conversation

@glennpratt
Copy link
Copy Markdown

No description provided.

Comment thread restart_process/Tiltfile
custom_build(base_ref, command=command, deps=deps, **kwargs)

# Create kwargs for custom_build (remove platform since custom_build handles multiplatform in its script)
custom_build_kwargs = {k: v for k, v in kwargs.items() if k != 'platform'}
Copy link
Copy Markdown
Member

@nicks nicks Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm... this PR -

  • add platform as an explicit arg, which removes it from kwargs
  • also adds a few lines that clean platform from kwargs

that doesn't really make sense? you'd want to do one or the other, but not both?

(i think you meant to only do the second one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants