-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 tilt: ensure in-tree providers always use start.sh to allow restarts #10811
🌱 tilt: ensure in-tree providers always use start.sh to allow restarts #10811
Conversation
@@ -137,6 +143,9 @@ type tiltProviderConfig struct { | |||
ApplyProviderYaml *bool `json:"apply_provider_yaml,omitempty"` | |||
KustomizeFolder *string `json:"kustomize_folder,omitempty"` | |||
KustomizeOptions []string `json:"kustomize_options,omitempty"` | |||
|
|||
// hardCodedProvider is used for providers hardc-oded in the Tiltfile to always set cmd for them to start.sh to allow restarts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// hardCodedProvider is used for providers hardc-oded in the Tiltfile to always set cmd for them to start.sh to allow restarts. | |
// hardCodedProvider is used for providers hardcoded in the Tiltfile to always set cmd for them to start.sh to allow restarts. |
/approve |
Thx for fixing this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 66d003e201bf3cf347fb5b4fb1ebc164bcd3a1c4
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: killianmuldoon, sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold to fix typo |
9aa60a6
to
a8c8ed0
Compare
/hold cancel Needs another lgtm, fixed the typo |
/lgtm |
LGTM label has been added. Git tree hash: 928a88ac1dfb0d89361051a72ad77553cb300017
|
/retest
|
Nice ty! |
@cahillsf thx for reporting! |
What this PR does / why we need it:
The in-tree providers have hardcoded their provider options in
Tiltbuild
. Therefor the values we have intilt-prepare
do not reflect the real ones.Since implementing #10244, when using a
tilt-settings.yaml
file without debug configuration for the in-tree providers, tilt-prepare won't adjust the cmd to usestart.sh
and because of that restarts via tilt did not work anymore.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #10810
/area devtools