Live data from Hacker News

Tilt: dev environment as code

github.com

31–40 of 67 posts

Re: Tilt: dev environment as code

#31
post #17

How does Tilt compare to “skaffold dev“? We use skaffold exactly for that purpose. To develop within a the cluster.

Migrated from Skaffold to Tilt at my last co, found it was much more easier to configure granular rebuild rules, which lead to faster dev loop cycles

Any catch?

Re: Tilt: dev environment as code

#32
I don’t think my problem has ever been with setting up a local environment.

Single cluster deployments are very easy.

My problem is that these services we manage in production are deployed across multiple regions (or k8s clusters).

Debugging _distributed_ applications is the issue.

Re: Tilt: dev environment as code

#34

Why do not use well organized Makefile instead of invent new junk. Is it a product placement?

Makefiles are bad with state that is not represented as files, right? I remember that I had to create "stamp" files with hashes and things like that to overcome this limitation.

There is also .PHONY, but that would make the rule to always be triggered. Maybe I'm misremembering, it's been a long time :)

Re: Tilt: dev environment as code

#35

Why do not use well organized Makefile instead of invent new junk. Is it a product placement?

Makefiles are for building artifacts. They are wholly inadequate at orchestrating environments and task pipelines.

Can you do it? Sure, but somewhere someone is going to be suffering.

Re: Tilt: dev environment as code

#37
I still think "dev environments" really ought to be running tests directly with your languages native tool. e.g. `cargo test`, `bundle exec rspec`, etc. If you make me run a VM that runs Kubernetes that runs a docker container that runs the tests, I will be very, very upset. Doing this properly and reliably can still be a lot of work, possibly more work if not relying on Docker is a design goal (which must be if you want to run natively on macOS).

There seem to be a lot of tools in this space. I wish they wouldn't call themselves tools for "dev environments" when they are really more like tools for "deploying an app to your local machine", which is rather different.

Re: Tilt: dev environment as code

#39
post #29
post #17

How does Tilt compare to “skaffold dev“? We use skaffold exactly for that purpose. To develop within a the cluster.

Much more flexible than Skaffold thanks to Starlark config vs. a rigid YAML structure.

Starlark does allow for much more concise and powerful config specification. I am building https://github.com/claceio/clace, which is an application server for teams to deploy internal tools.

Clace uses Starlark for defining apps, instead of something like YAML. https://github.com/claceio/clace/blob/main/examples/utils.st... is a config file which defines around seven apps (apps are downloaded and deployed directly from git).

Clace uses Starlark for defining app level routing rules also. This avoids the need to use a nginx like DSL for routing.

Post reply on HN