Skip to content

tiltfile: add readiness probe support for local_resource#4112

Merged
milas merged 3 commits into
masterfrom
milas/tiltfile-local-probe
Jan 27, 2021
Merged

tiltfile: add readiness probe support for local_resource#4112
milas merged 3 commits into
masterfrom
milas/tiltfile-local-probe

Conversation

@milas

@milas milas commented Jan 22, 2021

Copy link
Copy Markdown
Contributor

Readiness checks for local resources - see #3109 and tilt-dev/tilt.specs : readiness_probe.md for context.

Syntax is adapted from K8s probe spec to Starlark semantics (e.g. snake_case vs camelCase for names).

This is just the Tiltfile wiring, the engine logic to make use of it is in #4102 (will be merged after this so that it can include these changes enabling integration tests).

Syntax is adapted from K8s probe spec to Starlark semantics (e.g.
`snake_case` vs `camelCase` for names).
@milas
milas requested a review from landism January 22, 2021 23:00
Comment thread internal/tiltfile/probe.go Outdated
Comment thread internal/tiltfile/probe.go Outdated
Comment thread internal/tiltfile/probe.go Outdated
@milas
milas marked this pull request as draft January 25, 2021 22:49
@milas
milas force-pushed the milas/tiltfile-local-probe branch from eed4578 to 9e0adfe Compare January 26, 2021 17:27
@milas
milas marked this pull request as ready for review January 26, 2021 17:31
@milas
milas requested a review from landism January 26, 2021 17:31
milas added a commit to tilt-dev/tilt.build that referenced this pull request Jan 27, 2021
@milas
milas merged commit b77cc58 into master Jan 27, 2021
@milas
milas deleted the milas/tiltfile-local-probe branch January 27, 2021 17:39
milas added a commit to tilt-dev/tilt.build that referenced this pull request Jan 29, 2021
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