Tilt News, July 2021

Hello Tilters, we hope you’re having a great Thursday! Here’s some interesting things we’re excited to show you today:

Decorate With More Buttons

Tilters often use local_resource() to add clickable items onto Tilt’s interface. But sometimes that functionality is specific to a single service, and unless you’re looking at the service in question, you don’t really want it cluttering your view.

With that in mind, meet UIButton!

With the UIButton extension you can add functionality directly into the resource view page of any specific service.

This way it’s easy to see what commands are relevant to a specific service, and it also helps de-clutter your resources list. And it’s pretty easy to use, too:

load('ext://uibutton', 'cmd_button')

cmd_button(name='Hello World',
           resource='my-resource',
           argv=['echo', 'Hello World'])

Milas wrote more about it in this blog post. Let us know what you think of it!

Which Files Are We Watching Now?

As we’ve mentioned a few times, Tilt’s innards are moving towards a Kubernetes-style API, following an object/controller model. This is great because it allows anyone to interact with Tilt’s inner processes and look under the hood, as opposed to the tool being blackbox.

In this post, Nick talks about one of Tilt’s most quintessential tasks, file watching, and how you can hack around with the file watching API under Tilt’s new system.

The Foundations of Computer Science

Ellen just won’t stop with their shenanigans. This time we’re getting a lesson on how to bring one of the core tenets of computer science up-to-date to the 21st century. It shows an integration between Tilt’s internals and an external application.

Be warned, it’s funny.

Work-In-Progress Development vs. Harness Development

Some days ago we got a question on Slack about the difference between workflows like CI and GitOps, and tools like Tilt, Skaffold, and so on.

They’re sort of similar, but fundamentally different! They work really well together, and you should definitely use both types of tools in your setup.

If you’re not sure what the distinctions are, check out this post.

Originally sent to the Tilt News mailing list. View in-browser.

Related

Keep up with Developments in Multi-Service Development
 
 
 
Keep up with Developments in Multi-Service Development

Already have a Dockerfile and a Kubernetes config?

You’ll be able to setup Tilt in no time and start getting things done. Check out the docs! 

Having trouble developing your servers in Kubernetes?