If you’re like me, sometimes when you make a particularly big change to a code base or even a small one, you can get a little nervous when pushing to production. So you check, double check, and maybe even triple check to make sure everything will build and your code is error free. Even then you may miss things, and then you have to spend the effort to figure out what you need to fix in your code. Of course, this is one reason why Looker built in version control and separate code branches in the first place. But now those safeguards have been enhanced, because Looker recently added more support for your LookML development pipeline with Looker Continuous Integration (CI).
Looker CI is like a second reviewer for your new code. It adds automated testing and eliminates the headaches we’ve had to endure from broken dashboards and cryptic SQL errors that used to spawn more questions than they answer. It allows you to deliver more reliable content and allows you to make updates that are only seen as improvements, keeping your content dependable and trusted.
Looker CI performs a series of automated checks on your LookML projects. Looker CI runs a comprehensive suite of tests verifying that your SQL queries are valid, your data tests pass, your content (Looks and dashboards) is error-free, and your LookML code has no pesky syntax blemishes. This proactive approach allows you to identify and fix issues before they reach your end-users, dramatically reducing the risk of broken content and frustrating query errors. In short, it helps you ship with confidence and maintains trust in the data models you build.
To start benefiting from Looker CI, you'll need to:
After setup, you'll be able to create and configure your first CI suite.
Looker CI offers a combination of automated checks, acting as a test plan that you can customize for each project or branch. You decide which tests to run, when they run, and how to handle the results. You can create different setups for different branches (e.g., one for development, one for staging, and one for production), or for specific projects. Look for an article coming soon on how to configure these suites.
Looker CI is a transformative tool for Looker development. It helps you build a more reliable, robust, and trustworthy Looker code, and it lets you focus on what you do best: delivering amazing data experiences. The preview is available now so enable it in Looker, and build your first CI suite, so you can have Looker CI as your development partner.